Search

Trytohackme-13/09/21 Web Fundamentals

Introduction and objectives















Tasks

There's a web server running on http://10.10.242.26:8081. Connect to it and get the flags!

  • GET request. Make a GET request to the web server with path /ctf/get

  • POST request. Make a POST request with the body "flag_please" to /ctf/post

  • Get a cookie. Make a GET request to /ctf/getcookie and check the cookie the server gives you

  • Set a cookie. Set a cookie with name "flagpls" and value "flagpls" in your devtools (or with curl!) and make a GET request to /ctf/sendcookie

Answer the questions below

What's the GET flag?


What's the POST flag?


What's the "Get a cookie" flag?



What's the "Set a cookie" flag?






23 views0 comments