From c5e06b068ee2cce666281fa81e4f91a79bcefa81 Mon Sep 17 00:00:00 2001 From: BlucyBlue Date: Sun, 20 Jan 2019 19:14:02 +0100 Subject: [PATCH] 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. --- sherlock.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sherlock.py b/sherlock.py index 246b6a3..fbc2d1e 100644 --- a/sherlock.py +++ b/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",