Exception will now be raised if etiher a single proxy or proxy_list options are used along with Tor.
This commit is contained in:
committed by
Yahya SayadArbabi
parent
c5e06b068e
commit
dc32d473e0
+1
-1
@@ -402,7 +402,7 @@ def main():
|
||||
|
||||
# Argument check
|
||||
# TODO regex check on args.proxy
|
||||
if args.tor and args.proxy != None:
|
||||
if args.tor and (args.proxy != None or args.proxy_list != None):
|
||||
raise Exception("TOR and Proxy cannot be set in the meantime.")
|
||||
|
||||
# Make prompts
|
||||
|
||||
Reference in New Issue
Block a user