TryHackMe | How Websites Work
2 min readJun 8, 2024
Room Link : https://tryhackme.com/r/room/howwebsiteswork
Task 1 : How websites work
Question no 01 : What term best describes the component of a web application rendered by your browser?
Answer : Front End
Task 2 : HTML
Question no 01 : Let's play with some HTML! On the right-hand side, you should see a box that renders HTML - If you enter some HTML into the box and click the green "Render HTML Code" button, it will render your HTML on the page; you should see an image of some cats.
Answer : No Answer Needed
Question no 02 : One of the images on the cat website is broken - fix it, and the image will reveal the hidden text answer!
Answer : HTMLHERO
Question no 03 : Add a dog image to the page by adding another img tag (<img>) on line 11. The dog image location is img/dog-1.png. What is the text in the dog image?
Answer : DOGHTML
Task 3 : JavaScript
Question no 01: Click the "View Site" button on this task. On the right-hand side, add JavaScript that changes the demo element's content to "Hack the Planet"
Answer : JSISFUN
Question no 02 : Add the button HTML from this task that changes the element's text to "Button Clicked" on the editor on the right, update the code by clicking the "Render HTML+JS Code" button and then click the button.
Answer : No answer needed
Task 4 : Sensitive Data Exposure
Question no 01: View the website on this link. What is the password hidden in the source code?
Answer : testpasswd
Task 5 : HTML Injection
Question no 01 : View the website on this task and inject HTML so that a malicious link to http://hacker.com is shown.
Answer : HTML_INJ3CTI0N