From 12aa4d7580466aa624a2bd9a82cdae48010bd43a Mon Sep 17 00:00:00 2001 From: Chris Truncer Date: Mon, 15 Dec 2014 18:42:50 -0500 Subject: [PATCH] Added check to make sure data is selected when acting as a client --- Egress-Assess.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Egress-Assess.py b/Egress-Assess.py index 4851dc4..21bd5fa 100755 --- a/Egress-Assess.py +++ b/Egress-Assess.py @@ -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):