Home How websites work
Post
Cancel

How websites work

To exploit a website, you first need to know how they are created.

THM Room : https://tryhackme.com/room/howwebsiteswork

TASK 1 How websites work

What term best describes the component of a web application rendered by your browser?

Answer : Front End

TASK 2 HTML

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.

No Answer.

One of the images on the cat website is broken - fix it, and the image will reveal the hidden text answer!

Answer :

1
HTMLHERO

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 :

1
DOGHTML

TASK 3 JavaScript

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 :

1
JSISFUN

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.

No Answer.

TASK 4 Sensitive Data Exposure

View the website on this task. What is the password hidden in the source code?

Answer : testpasswd

TASK 5 HTML Injection

Answer : HTML_INJ3CTI0N

This post is licensed under CC BY 4.0 by the author.