Don't Bump Your Head(er)
40 points Medium

Try to bypass my security measure on this site! http://165.227.106.113/header.php

Flag
Rating 4.56
5
4
3
2
1

Discussion

This one was super fun and I learned something new :)

0

loved it.

0
Protected
0

Edited the request in Firefox dev tools and resent it

0

Should have been a url with http:// or https:// in front, so it's doable in Firefox too. Otherwise ok-ish difficulty

0

I'm a little partial to python so here's my answer: ` import requests

def main(): url = "http://165.227.106.113/header.php"

headers = { "User-Agent": "Sup3rS3cr3tAg3nt", 
            "Referer": "awesomesauce.com"}

response = requests.get(url, headers=headers).text
print(response)

if name == "main": main() `

Updated Formatting

0

just Burp it :)

0

If you are having trouble, make sure to FULLY read this site. https://curl.se/docs/httpscripting.html It tells you everything you need for this challenge!

0

don't forget to set the Referer

0
Protected
0

a nice one

0