mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-19 21:10:36 +03:00
fix for a bug reported by mhackmail@gmail.com (local variable 'code' referenced before assignment)
This commit is contained in:
parent
5692506131
commit
cab86871fe
|
@ -368,6 +368,9 @@ Alessandro Tanasi <alessandro@tanasi.it>
|
||||||
Andres Tarasco <atarasco@gmail.com>
|
Andres Tarasco <atarasco@gmail.com>
|
||||||
for providing me with good feedback
|
for providing me with good feedback
|
||||||
|
|
||||||
|
Kazim Bugra Tombul <mhackmail@gmail.com>
|
||||||
|
for reporting a minor bug
|
||||||
|
|
||||||
Efrain Torres <et@metasploit.com>
|
Efrain Torres <et@metasploit.com>
|
||||||
for helping me out to improve the Metasploit Framework 3 sqlmap
|
for helping me out to improve the Metasploit Framework 3 sqlmap
|
||||||
auxiliary module and for commiting it on the Metasploit official
|
auxiliary module and for commiting it on the Metasploit official
|
||||||
|
|
|
@ -259,7 +259,7 @@ class Connect:
|
||||||
page = decodePage(page, responseHeaders.get("Content-Encoding"), responseHeaders.get("Content-Type"))
|
page = decodePage(page, responseHeaders.get("Content-Encoding"), responseHeaders.get("Content-Type"))
|
||||||
except socket.timeout:
|
except socket.timeout:
|
||||||
warnMsg = "connection timed out while trying "
|
warnMsg = "connection timed out while trying "
|
||||||
warnMsg += "to get error page information (%d)" % code
|
warnMsg += "to get error page information (%d)" % e.code
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
return None, None
|
return None, None
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user