mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-22 03:33:57 +00:00
Minor patches (and one bug from ML)
This commit is contained in:
parent
edc6f47758
commit
17c556a63d
7 changed files with 37 additions and 13 deletions
|
|
@ -31,6 +31,7 @@ from extra.safe2bin.safe2bin import safecharencode
|
|||
from lib.core.agent import agent
|
||||
from lib.core.common import asciifyUrl
|
||||
from lib.core.common import calculateDeltaSeconds
|
||||
from lib.core.common import checkSameHost
|
||||
from lib.core.common import clearConsoleLine
|
||||
from lib.core.common import dataToStdout
|
||||
from lib.core.common import evaluateCode
|
||||
|
|
@ -266,7 +267,7 @@ class Connect(object):
|
|||
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 or ""]))
|
||||
target = checkSameHost(url, conf.url)
|
||||
|
||||
if not retrying:
|
||||
# Reset the number of connection retries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue