mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-12 19:08:26 -10:00
fix for --parse-errors (on IIS HTTP error is raised which need to be processed)
This commit is contained in:
1 parent
cccb565859
commit
3640dbf745
1 file changed
+6
@@ -240,6 +240,12 @@ class Connect:
|
||||
try:
|
||||
page = e.read()
|
||||
responseHeaders = e.info()
|
||||
|
||||
if conf.parseErrors:
|
||||
msg = extractErrorMessage(page)
|
||||
if msg:
|
||||
logger.info("parsed error message: '%s'" % msg)
|
||||
|
||||
except socket.timeout:
|
||||
warnMsg = "connection timed out while trying "
|
||||
warnMsg += "to get error page information (%d)" % code
|
||||
|
||||
Reference in new issue
Block a user