From 9e9f55ee44e16758a45cbbcf2e3280b32119da78 Mon Sep 17 00:00:00 2001 From: Chris Truncer Date: Mon, 15 Dec 2014 17:53:25 -0500 Subject: [PATCH] Fixed logic issue --- Egress-Assess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Egress-Assess.py b/Egress-Assess.py index 6be6a9a..4851dc4 100755 --- a/Egress-Assess.py +++ b/Egress-Assess.py @@ -172,7 +172,7 @@ def cli_parser(): sys.exit() # If using FTP, check to make sure a username and pass is provided - if args.ftp or args.ftp_server and ( + if (args.ftp or args.ftp_server) and ( args.password is None or args.username is None): print "[*] Error: FTP Server requires a username and password!" print "[*] Error: Please re-run and provide the required info!"