Rewriting the condition 'if' for only one line

bug/bundler_fix
Roberto Soares 2015-04-16 09:15:17 -03:00
parent 21e964e699
commit b90ff36ef4
1 changed files with 1 additions and 3 deletions

View File

@ -56,9 +56,7 @@ class Metasploit3 < Msf::Auxiliary
}
})
if res &&
res.code == 200 &&
res.body.length > 0
if res && res.code == 200 && res.body.length > 0
print_status('Downloading file...')
print_line("\n#{res.body}")