mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-29 09:29:50 +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)
|
logger.info(infoMsg)
|
||||||
|
|
||||||
try:
|
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:
|
except SqlmapConnectionException:
|
||||||
page = None
|
page = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user