Skip to content

Commit b4f6d98

Browse files
committed
Minor style cleanup
1 parent 421fc20 commit b4f6d98

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/exploits/multi/http/git_cve_2014_9390.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def initialize(info = {})
4343
'PayloadType' => 'cmd',
4444
'RequiredCmd' => 'generic perl bash'
4545
},
46-
'EncoderType' => Msf::Encoder::Type::Raw,
46+
'EncoderType' => Msf::Encoder::Type::Raw
4747
},
4848
'Platform' => %w(osx win),
4949
'Targets' =>
@@ -231,8 +231,6 @@ def do_git(cli, req)
231231

232232
def do_html(cli, _req)
233233
resp = create_response
234-
this_git_uri = URI.parse(get_uri).merge(git_uri)
235-
this_mercurial_uri = URI.parse(get_uri).merge(mercurial_uri)
236234
resp.body = <<HTML
237235
<html>
238236
<head><title>Public Repositories</title></head>

0 commit comments

Comments
 (0)