mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-20 13:30:36 +03:00
added default HTTP version used by httplib and urllib2
This commit is contained in:
parent
7f1aa3b94f
commit
2668c95ef4
|
@ -114,7 +114,7 @@ class Connect:
|
||||||
if conf.parameters.has_key("POST") and not post:
|
if conf.parameters.has_key("POST") and not post:
|
||||||
post = conf.parameters["POST"]
|
post = conf.parameters["POST"]
|
||||||
|
|
||||||
requestMsg += " HTTP/1.1"
|
requestMsg += " %s" % httplib.HTTPConnection._http_vsn_str
|
||||||
|
|
||||||
# Perform HTTP request
|
# Perform HTTP request
|
||||||
headers = forgeHeaders(cookie, ua)
|
headers = forgeHeaders(cookie, ua)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user