mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Adapted the code to support a list of targets from a text file (Burp log file) or from a directory (WebScarab conversations folder) with command line option -l.
This commit is contained in:
@@ -68,11 +68,15 @@ class Google:
|
||||
your Google dork search results
|
||||
"""
|
||||
|
||||
targetUrls = set()
|
||||
targetUrls = {}
|
||||
targetUrlsSet = set()
|
||||
|
||||
for match in self.__matches:
|
||||
if re.search("(.*?)\?(.+)", match, re.I):
|
||||
targetUrls.add(match)
|
||||
targetUrlsSet.add(match)
|
||||
|
||||
for targetUrl in targetUrlsSet:
|
||||
targetUrls[targetUrl] = None
|
||||
|
||||
return targetUrls
|
||||
|
||||
|
||||
Reference in New Issue
Block a user