mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Fixed a minor bug when displaying requested page in -v >= 3
This commit is contained in:
parent
f337cd6e0a
commit
c18a5cb92f
1 changed files with 1 additions and 5 deletions
|
|
@ -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 a new issue