mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Reverting set() brace form because of Python 2.6 compatibility issues
This commit is contained in:
parent
0a8bc52910
commit
10fd004dec
8 changed files with 18 additions and 15 deletions
|
|
@ -205,7 +205,7 @@ class Web:
|
|||
|
||||
if readInput(message, default='Y', boolean=True):
|
||||
headers = {}
|
||||
been = {conf.url}
|
||||
been = set([conf.url])
|
||||
|
||||
for match in re.finditer(r"=['\"]((https?):)?(//[^/'\"]+)?(/[\w/.-]*)\bwp-", kb.originalPage or "", re.I):
|
||||
url = "%s%s" % (conf.url.replace(conf.path, match.group(4)), "wp-content/wp-db.php")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue