概要
TryHackMe「How Websites Work」のWalkthroughです。
Task1
Q1.What term best describes the component of a web application rendered by your browser?
Hint.This component is also often called "client-side".
A.Front End
Task2
Q2.One of the images on the cat website is broken - fix it, and the image will reveal the hidden text answer!
Hint.The cat-2 image (line 10) is missing its image extension.
img/cat-2.
の拡張子がないので画像が表示できていません。
拡張子.jpg
を追加してが同を正しく表示します。
A.HTMLHERO
Q3.Add a dog image to the page by adding another img tag () on line 11. The dog image location is img/dog-1.png. What is the text in the dog image?
<img src='img/dog-1.png'>
を追記し、犬の画像を表示します。
A.DOGHTML
Task3
Q1.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"
Hint.Add your JavaScript to line 9 and click the "Render HTML+JS Code" button.
下記JSコードを追加し、HTML要素を変更します。
document.getElementById("demo").innerHTML = "Hack The Planet"
A.JSISFUN
Task4
Q1.View the website on this link. What is the password hidden in the source code?
Hint.The link requires internet access, so you can not use it with a free AttackBox but instead open it from your own machine.
下記サイトのソースコードから認証情報を得られました。
A.testpasswd
Task5
Q1.View the website on this task and inject HTML so that a malicious link to http://hacker.com is shown.
Hint.Google how to create a HTML link and use it as input to the "What's your name" field.
HTMLインジェクションでa
タグを挿入します。
A.HTML_INJ3CTI0N