Skip to content

Instantly share code, notes, and snippets.

@Procrastinator20
Last active January 10, 2023 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Procrastinator20/002a58e7c3aeef788c0868f3fcd61daf to your computer and use it in GitHub Desktop.
Save Procrastinator20/002a58e7c3aeef788c0868f3fcd61daf to your computer and use it in GitHub Desktop.
ssrf-attack-hack-the-box-health 2
class Serv(BaseHTTPRequestHandler):
   def do_GET(self):
       print("GET " + str(self.path))
       print(str(self.headers))
       self.send_response(200)
       self.send_header('Content-type', 'text/html')
       self.end_headers()
       self.wfile.write("<test>RALF_SERVER<test>".encode('utf-8'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment