Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 147e143

Browse files
committed
Major bug fix (reported by Thierry Zoller)
1 parent 4928c68 commit 147e143

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

doc/THANKS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ Anthony Zboralski <[email protected]>
307307
for reporting a few minor bugs
308308
for donating to sqlmap development
309309

310+
Thierry Zoller <[email protected]>
311+
for reporting a couple of major bugs
312+
310313
311314
for reporting a bug when running on Windows
312315

lib/request/connect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ def getPage(**kwargs):
146146

147147
conf.redirectHandled = True
148148

149-
return Connect.__getPageProxy(**kwargs)
150-
151149
# Reset the number of connection retries
152150
conf.retriesCount = 0
153151

@@ -207,7 +205,9 @@ def getPage(**kwargs):
207205
warnMsg = "connection timed out while trying "
208206
warnMsg += "to get error page information (%d)" % e.code
209207
logger.warn(warnMsg)
208+
210209
return None, None
210+
211211
code = e.code
212212
status = e.msg
213213

0 commit comments

Comments
 (0)