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:
meme-lord 2018-03-26 13:37:00 +01:00 committed by GitHub
parent 7d5a0ed2dc
commit e4d7b4335d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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