mirror of
https://github.com/sherlock-project/sherlock
synced 2024-11-26 22:00:27 +00:00
Added two new arguments, '--proxy_list'/'-pl' and '--check_proxies'/'-cp', for users to activate options of reading proxies from a document (at this time, only .csv is supported), and check their anonimity before using them.
This commit is contained in:
parent
166d224423
commit
c5e06b068e
1 changed files with 10 additions and 0 deletions
10
sherlock.py
10
sherlock.py
|
@ -380,6 +380,16 @@ def main():
|
|||
parser.add_argument("--json", "-j", metavar="JSON_FILE",
|
||||
dest="json_file", default="data.json",
|
||||
help="Load data from a JSON file or an online, valid, JSON file.")
|
||||
parser.add_argument("--proxy_list", "-pl", metavar='PROXY_LIST',
|
||||
action="store", dest="proxy_list", default=None,
|
||||
help="Make requests over a proxy randomly chosen from a list generated from a .csv file."
|
||||
)
|
||||
parser.add_argument("--check_proxies", "-cp", metavar='CHECK_PROXY',
|
||||
action="store", dest="check_prox", default=None,
|
||||
help="To be used with the '--proxy_list' parameter. "
|
||||
"The script will check if the proxies supplied in the .csv file are working and anonymous."
|
||||
"Put 0 for no limit on successfully checked proxies, or another number to institute a limit."
|
||||
)
|
||||
parser.add_argument("username",
|
||||
nargs='+', metavar='USERNAMES',
|
||||
action="store",
|
||||
|
|
Loading…
Reference in a new issue