Web Fundamentals
Task 01: Introduction and objectives
Flags 1: n/a
Task 02: How do we load websites?
Flags 2
Flag ID | Questions | Ans |
---|---|---|
1 | What request verb is used to retrieve page content? | GET |
2 | What port do web servers normally listen on? | 80 |
3 | What’s responsible for making websites look fancy? | CSS |
Task 03: More HTTP - Verbs and request formats
HTTP response status codes
HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes:
- Informational responses (100–199)
- Successful responses (200–299)
- Redirects (300–399)
- Client errors (400–499)
- Server errors (500–599)
source: Mozilla
Flags 3
Flag ID | Questions | Ans |
---|---|---|
1 | What verb would be used for a login? | POST |
2 | What verb would be used to see your bank balance once you’re logged in? | GET |
3 | Does the body of a GET request matter? Yea/Nay | NAY |
4 | What’s the status code for “I’m a teapot”? | 418 |
5 | What status code will you get if you need to authenticate to access some content, and you’re unauthenticated? | 401 |
Task04: Cookies, tasty!
Flag 4: n\a
Task 05: Mini CTF
Flags 5
Flag ID | Questions |
---|---|
1 | What’s the GET flag? |
2 | What’s the POST flag? |
3 | What’s the “Get a cookie” flag? |
4 | What’s the “Set a cookie” flag? |