mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
minor fix
This commit is contained in:
parent
dcf842692b
commit
1b16b5e0f1
|
@ -158,7 +158,7 @@ class Connect:
|
|||
url = urlparse.urljoin(conf.url, url)
|
||||
|
||||
# flag to know if we are dealing with the same target host
|
||||
target = reduce(lambda x, y: x == y, map(lambda x: urlparse.urlparse(x).netloc.split(':')[0], [url, conf.url]))
|
||||
target = reduce(lambda x, y: x == y, map(lambda x: urlparse.urlparse(x).netloc.split(':')[0], [url, conf.url or ""]))
|
||||
|
||||
if not retrying:
|
||||
# Reset the number of connection retries
|
||||
|
|
Loading…
Reference in New Issue
Block a user