mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-29 01:19:47 +03:00
Made referer=None when --check-tor
SQLMap was sending the target URL to check.torproject.org in the referer for no apparent reason.
This commit is contained in:
parent
7d5a0ed2dc
commit
e4d7b4335d
|
@ -2359,7 +2359,7 @@ def _checkTor():
|
|||
logger.info(infoMsg)
|
||||
|
||||
try:
|
||||
page, _, _ = Request.getPage(url="https://check.torproject.org/", raise404=False)
|
||||
page, _, _ = Request.getPage(url="https://check.torproject.org/", referer=None, raise404=False)
|
||||
except SqlmapConnectionException:
|
||||
page = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user