mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
pointless restyling
This commit is contained in:
parent
3be90c97aa
commit
12eed58485
|
@ -228,8 +228,10 @@ def runCase(switches=None, parse=None):
|
||||||
|
|
||||||
def replaceVars(item, vars_):
|
def replaceVars(item, vars_):
|
||||||
retVal = item
|
retVal = item
|
||||||
|
|
||||||
if item and vars_:
|
if item and vars_:
|
||||||
for var in re.findall("\$\{([^}]+)\}", item):
|
for var in re.findall("\$\{([^}]+)\}", item):
|
||||||
if var in vars_:
|
if var in vars_:
|
||||||
retVal = retVal.replace("${%s}" % var, vars_[var])
|
retVal = retVal.replace("${%s}" % var, vars_[var])
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
Loading…
Reference in New Issue
Block a user