Skip to content

Commit ad1271c

Browse files
authored
Update __main__.py (#48)
fix the issue #47
1 parent bd3d983 commit ad1271c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apachetomcatscanner/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def parseArgs():
190190

191191
args = parser.parse_args()
192192

193-
if (args.targets_file is None) and (len(args.target) == 0) and (len(args.target_url) == 0) and (args.auth_user is None and (args.auth_password is None or args.auth_hashes is None)):
193+
if (args.targets_file is None) and (len(args.target) == 0) and (len(args.target_url) == 0) and (args.auth_user is None and (args.auth_password is None or args.auth_hashes is None)) and (args.targets_urls_file is None):
194194
parser.print_help()
195195
print("\n[!] No targets specified.")
196196
sys.exit(0)

0 commit comments

Comments
 (0)