Added check to make sure data is selected when acting as a client

resolved_file
Chris Truncer 2014-12-15 18:42:50 -05:00
parent 9e9f55ee44
commit 12aa4d7580
1 changed files with 5 additions and 0 deletions

View File

@ -183,6 +183,11 @@ def cli_parser():
print "[*] Error: to connect to. Please re-run with required info!"
sys.exit()
if (args.ftp or args.http or args.https) and (args.cc is False and args.ssn is False):
print "[*] Error: You need to tell Egress-Assess the type of data to send!"
print "[*] Error: to connect to. Please re-run with required info!"
sys.exit()
if not (
args.ftp or args.http or args.https or args.http_server or
args.ftp_server):