Tryhackme:How websites work

How websites work:

  1. Front End (Client-Side) — the way your browser renders a website.
  2. Back End (Server-Side) — a server that processes your request and returns a response.
  1. What term describes the way your browser renders a website?

HTML:

  • HTML, to build websites and define their structure
  • CSS, to make websites look pretty by adding styling options
  • JavaScript, implement complex features on pages using interactivity
  • The <!DOCTYPE html> defines that the page is a HTML5 document. This helps with standardisation across different browsers and tells the browser to use HTML5 to interpret the page.
  • The <html> element is the root element of the HTML page - all other elements come after this element.
  • The <head> element contains information about the page (such as the page title)
  • The <body> element defines the HTML document's body, only content inside of the body is shown in the browser.
  • The <h1> element defines a large heading
  • The <p> element defines a paragraph
  • There are many other elements (tags) used for different purposes. For example, there are tags for: buttons (<button>), images (<img>), lists, and much more.

JavaScript:

Sensitive Data Exposure:

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

HTML Injection:

  1. View the website on this task and inject HTML so that a malicious link to http://hacker.com is shown.

--

--

--

CTF-PLAYER, security analyst, Pentesting, vapt, digital forensics

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Apple extends update deadline for outdated apps in danger of being deleted

Context in Javascript

Build a Scalable GraphQL Server With NestJS, MongoDB & TypeScript

BAND | bitkub.com/market/BAND

Clasping the React Hooks — Part 1

Running JavaScript in WebAssembly with WasmEdge

JavaScript Functions

The only React Router set-up you will ever need

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
jagadeesh

jagadeesh

CTF-PLAYER, security analyst, Pentesting, vapt, digital forensics

More from Medium

Luke DiMella’s Audio Storytelling Portfolio

How To Make a Macrame Shoulder Bag? DIY Crossbody Tutorial 2022

7 NFT Games to Play-to-Earn in 2022

Six months with the GPD Win 3: PC Gaming and its future