diff --git a/doc/THANKS b/doc/THANKS index aa87802e6..0a423007b 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -368,6 +368,9 @@ Alessandro Tanasi Andres Tarasco for providing me with good feedback +Kazim Bugra Tombul + for reporting a minor bug + Efrain Torres for helping me out to improve the Metasploit Framework 3 sqlmap auxiliary module and for commiting it on the Metasploit official diff --git a/lib/request/connect.py b/lib/request/connect.py index f11b77885..94b79c1b7 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -259,7 +259,7 @@ class Connect: page = decodePage(page, responseHeaders.get("Content-Encoding"), responseHeaders.get("Content-Type")) except socket.timeout: 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) return None, None except: