Skip to content

Commit 159bc26

Browse files
committed
unretards the uri normalize loop
1 parent 2290249 commit 159bc26

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

modules/auxiliary/scanner/http/ntlm_info_enumeration.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ def run_host(ip)
4646
end
4747
if (turis_file && !turis_file.blank?)
4848
File.open(turis_file, 'rb') { |f| test_uris += f.readlines }
49-
test_uris.each do |test_uri|
50-
test_uri.chomp!
51-
test_uris << normalize_uri(test_uri)
49+
test_uris.collect! do |test_uri|
50+
normalize_uri(test_uri.chomp)
5251
end
5352
end
5453
test_uris.each do |test_path|

0 commit comments

Comments
 (0)