mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
minor update
This commit is contained in:
parent
927ad7bf13
commit
13bb3a6212
|
@ -100,7 +100,7 @@ class Agent:
|
|||
elif parameter == "User-Agent":
|
||||
retValue = value.replace(value, newValue)
|
||||
elif parameter == "URI":
|
||||
retValue = value.replace('*', ' %s ' % newValue.replace(value,''))
|
||||
retValue = value.replace("*", " %s " % newValue.replace(value, str()))
|
||||
else:
|
||||
paramString = conf.parameters[place]
|
||||
|
||||
|
|
|
@ -293,7 +293,7 @@ class Connect:
|
|||
ua = None
|
||||
page = None
|
||||
pageLength = None
|
||||
uri = conf.url
|
||||
uri = None
|
||||
raise404 = place != "URI"
|
||||
|
||||
if not place:
|
||||
|
@ -313,6 +313,8 @@ class Connect:
|
|||
|
||||
if "URI" in conf.parameters:
|
||||
uri = conf.url if place != "URI" or not value else value
|
||||
else:
|
||||
uri = conf.url
|
||||
|
||||
if conf.safUrl and conf.saFreq > 0:
|
||||
kb.queryCounter += 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user