mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Python3 fix (parsing of headers)
This commit is contained in:
@@ -98,6 +98,7 @@ class ReqHandler(BaseHTTPRequestHandler):
|
||||
|
||||
if "<script>" in unquote_plus(query):
|
||||
self.send_response(INTERNAL_SERVER_ERROR)
|
||||
self.send_header("X-Powered-By", "Express")
|
||||
self.send_header("Connection", "close")
|
||||
self.end_headers()
|
||||
self.wfile.write("CLOUDFLARE_ERROR_500S_BOX".encode(UNICODE_ENCODING))
|
||||
|
||||
Reference in New Issue
Block a user