mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor just in case update
This commit is contained in:
parent
adb5fff6b2
commit
209e795369
|
@ -306,7 +306,7 @@ class Connect:
|
||||||
# Get HTTP response
|
# Get HTTP response
|
||||||
if hasattr(conn, 'redurl'):
|
if hasattr(conn, 'redurl'):
|
||||||
page = threadData.lastRedirectMsg[1] if kb.redirectChoice == REDIRECTION.IGNORE\
|
page = threadData.lastRedirectMsg[1] if kb.redirectChoice == REDIRECTION.IGNORE\
|
||||||
else kb.originalPage if kb.redirectChoice == REDIRECTION.ORIGINAL\
|
else kb.pageTemplate if kb.redirectChoice == REDIRECTION.ORIGINAL\
|
||||||
else conn.read()
|
else conn.read()
|
||||||
skipLogTraffic = kb.redirectChoice != REDIRECTION.FOLLOW
|
skipLogTraffic = kb.redirectChoice != REDIRECTION.FOLLOW
|
||||||
code = conn.redcode if kb.redirectChoice != REDIRECTION.ORIGINAL else kb.originalCode
|
code = conn.redcode if kb.redirectChoice != REDIRECTION.ORIGINAL else kb.originalCode
|
||||||
|
|
Loading…
Reference in New Issue
Block a user