Rewriting the condition 'if' for only one line
parent
21e964e699
commit
b90ff36ef4
|
@ -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}")
|
||||
|
|
Loading…
Reference in New Issue