Update zemra_panel_rce.rb
This commit is contained in:
parent
a7fa939fda
commit
66560d5339
|
@ -84,7 +84,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
'cmd' => cmd
|
||||
}
|
||||
})
|
||||
if !res && res.code == 200
|
||||
unless res && res.code == 200
|
||||
fail_with(Failure::Unknown, 'Failed to execute the command.')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue