Trivial update#

This commit is contained in:
Miroslav Stampar
2018-01-31 10:50:34 +01:00
parent 30f8c30d6a
commit 31fa7f6c94
8 changed files with 22 additions and 22 deletions

View File

@@ -205,7 +205,7 @@ class Web:
if readInput(message, default='Y', boolean=True):
headers = {}
been = set([conf.url])
been = {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")