Skip to content

Commit 4f121e3

Browse files
committed
fixes if-logic for error condition
1 parent 2530fb9 commit 4f121e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/ntlm_info_enumeration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def run_host(ip)
3737
test_uris = []
3838
turi = datastore['TARGET_URI']
3939
turis_file = datastore['TARGET_URIS_FILE']
40-
if !(turi && turis_file)
40+
if (!turi && !turis_file)
4141
print_error("Either TARGET_URI or TARGET_URIS_FILE must be specified")
4242
# can't simply return here as we'll print an error for each host
4343
raise Rex::Script::Completed

0 commit comments

Comments
 (0)