From 66560d533957e59902bfc8e084e33242c32ef707 Mon Sep 17 00:00:00 2001 From: JT Date: Thu, 1 Oct 2015 19:16:23 +0800 Subject: [PATCH] Update zemra_panel_rce.rb --- modules/exploits/multi/http/zemra_panel_rce.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/multi/http/zemra_panel_rce.rb b/modules/exploits/multi/http/zemra_panel_rce.rb index ea92b43f00..e4b9367e66 100644 --- a/modules/exploits/multi/http/zemra_panel_rce.rb +++ b/modules/exploits/multi/http/zemra_panel_rce.rb @@ -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