mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Fixed a minor bug when displaying requested page in -v >= 3
This commit is contained in:
parent
f337cd6e0a
commit
c18a5cb92f
|
@ -73,15 +73,11 @@ class Connect:
|
|||
page = ""
|
||||
cookieStr = ""
|
||||
requestMsg = "HTTP request:\n%s " % conf.method
|
||||
requestMsg += "%s" % urlparse.urlsplit(url)[2] or "/"
|
||||
responseMsg = "HTTP response "
|
||||
requestHeaders = ""
|
||||
responseHeaders = ""
|
||||
|
||||
if re.search("http[s]*://%s" % conf.hostname, url, re.I):
|
||||
requestMsg += "%s" % conf.path or "/"
|
||||
else:
|
||||
requestMsg += "%s" % urlparse.urlsplit(url)[2] or "/"
|
||||
|
||||
if silent:
|
||||
socket.setdefaulttimeout(3)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user