From b4f6d984dcdec426e994459bd4883396503dba61 Mon Sep 17 00:00:00 2001 From: Jon Hart Date: Mon, 22 Dec 2014 17:51:35 -0800 Subject: [PATCH] Minor style cleanup --- modules/exploits/multi/http/git_cve_2014_9390.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/exploits/multi/http/git_cve_2014_9390.rb b/modules/exploits/multi/http/git_cve_2014_9390.rb index f6c126384f..06df60a63c 100644 --- a/modules/exploits/multi/http/git_cve_2014_9390.rb +++ b/modules/exploits/multi/http/git_cve_2014_9390.rb @@ -43,7 +43,7 @@ class Metasploit4 < Msf::Exploit::Remote 'PayloadType' => 'cmd', 'RequiredCmd' => 'generic perl bash' }, - 'EncoderType' => Msf::Encoder::Type::Raw, + 'EncoderType' => Msf::Encoder::Type::Raw }, 'Platform' => %w(osx win), 'Targets' => @@ -231,8 +231,6 @@ class Metasploit4 < Msf::Exploit::Remote def do_html(cli, _req) resp = create_response - this_git_uri = URI.parse(get_uri).merge(git_uri) - this_mercurial_uri = URI.parse(get_uri).merge(mercurial_uri) resp.body = < Public Repositories