0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

一人アドカレAdvent Calendar 2024

Day 4

【TryHackMe】How Websites Work:Walkthrough

Posted at

概要

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.の拡張子がないので画像が表示できていません。

image.png

拡張子.jpgを追加してが同を正しく表示します。

image.png

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?

Hint.Add to the page.

<img src='img/dog-1.png'>を追記し、犬の画像を表示します。

image.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"

image.png

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.

下記サイトのソースコードから認証情報を得られました。

image.png

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タグを挿入します。

image.png

A.HTML_INJ3CTI0N

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?