Change syntax

bug/bundler_fix
wchen-r7 2016-11-18 11:41:04 -06:00
parent f894b9a4c5
commit d3adfff663
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class MetasploitModule < Msf::Auxiliary
end
else
# Verify return code && (headers.pattern or body.pattern)
if valid_codes.include?(res.code.to_s) && (res.headers.include?(datastore['VALIDPATTERN']) or res.body.include?(datastore['VALIDPATTERN']))
if valid_codes.include?(res.code.to_s) && (res.headers.include?(datastore['VALIDPATTERN']) || res.body.include?(datastore['VALIDPATTERN']))
print_good("#{peer} - Potentially open proxy [#{res.code}][#{target_method}]#{proxy_headers}")