mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
minor fixes
This commit is contained in:
parent
20df2bbd10
commit
430fd5cd63
|
@ -95,7 +95,7 @@ class Connect:
|
|||
requestMsg += "%s" % urlparse.urlsplit(url)[2] or "/"
|
||||
responseMsg = "HTTP response "
|
||||
requestHeaders = ""
|
||||
responseHeaders = ""
|
||||
responseHeaders = None
|
||||
logHeaders = ""
|
||||
|
||||
try:
|
||||
|
@ -253,6 +253,7 @@ class Connect:
|
|||
|
||||
except urllib2.HTTPError, e:
|
||||
page = None
|
||||
responseHeaders = None
|
||||
try:
|
||||
page = e.read()
|
||||
responseHeaders = e.info()
|
||||
|
|
|
@ -247,7 +247,7 @@ class Web:
|
|||
|
||||
elif "<%" in uplPage or "<?" in uplPage:
|
||||
warnMsg = "file stager uploaded "
|
||||
warnMsg += "on '%s' but not dynamically interpreted" % uriPage
|
||||
warnMsg += "on '%s' but not dynamically interpreted" % localPath
|
||||
logger.warn(warnMsg)
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user