Web Fundamentals

HINT:
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 and make a GET request to /ctf/sendcookie
nmap -A 10.10.24.60

Then browse http://10.10.95.82:PORT
What's the GET flag?
http://10.10.95.82:PORT/ctf/get

What's the POST flag?
curl 10.10.95.82:PORT/ctf/post -X POST --data "flag_please"

What's the "Get a cookie" flag?
http://10.10.95.82:PORT/ctf/getcookie

What's the "Set a cookie" flag?
http://10.10.95.82:PORT/ctf/sendcookie
Set:
cookie with name "flagpls"
value "flagpls"
then refresh

CONGRATULATIONS!!
Thank you for reading. :)
By AdaniKamal
Last updated