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 "/"
|
requestMsg += "%s" % urlparse.urlsplit(url)[2] or "/"
|
||||||
responseMsg = "HTTP response "
|
responseMsg = "HTTP response "
|
||||||
requestHeaders = ""
|
requestHeaders = ""
|
||||||
responseHeaders = ""
|
responseHeaders = None
|
||||||
logHeaders = ""
|
logHeaders = ""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -253,6 +253,7 @@ class Connect:
|
||||||
|
|
||||||
except urllib2.HTTPError, e:
|
except urllib2.HTTPError, e:
|
||||||
page = None
|
page = None
|
||||||
|
responseHeaders = None
|
||||||
try:
|
try:
|
||||||
page = e.read()
|
page = e.read()
|
||||||
responseHeaders = e.info()
|
responseHeaders = e.info()
|
||||||
|
|
|
@ -247,7 +247,7 @@ class Web:
|
||||||
|
|
||||||
elif "<%" in uplPage or "<?" in uplPage:
|
elif "<%" in uplPage or "<?" in uplPage:
|
||||||
warnMsg = "file stager uploaded "
|
warnMsg = "file stager uploaded "
|
||||||
warnMsg += "on '%s' but not dynamically interpreted" % uriPage
|
warnMsg += "on '%s' but not dynamically interpreted" % localPath
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user