mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +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_):
|
||||
retVal = item
|
||||
|
||||
if item and vars_:
|
||||
for var in re.findall("\$\{([^}]+)\}", item):
|
||||
if var in vars_:
|
||||
retVal = retVal.replace("${%s}" % var, vars_[var])
|
||||
|
||||
return retVal
|
||||
|
|
Loading…
Reference in New Issue
Block a user