mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Python3 fix (parsing of headers)
This commit is contained in:
parent
b2c8ba10cd
commit
4a12493d85
4 changed files with 4 additions and 4 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue