Last active
January 10, 2023 22:42
-
-
Save Procrastinator20/002a58e7c3aeef788c0868f3fcd61daf to your computer and use it in GitHub Desktop.
ssrf-attack-hack-the-box-health 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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