Merge branch 'jjarmoc-rails_methods' of github.com:jjarmoc/metasploit-framework into jjarmoc-jjarmoc-rails_methods

unstable
sinn3r 2013-02-04 16:50:01 -06:00
commit 42912bf286
2 changed files with 2 additions and 4 deletions

View File

@ -55,8 +55,7 @@ class Metasploit3 < Msf::Exploit::Remote
[ [
Opt::RPORT(80), Opt::RPORT(80),
OptString.new('TARGETURI', [ true, 'The path to a vulnerable Ruby on Rails application', "/"]), OptString.new('TARGETURI', [ true, 'The path to a vulnerable Ruby on Rails application', "/"]),
OptString.new('HTTP_METHOD', [ true, 'The HTTP request method (GET, POST, PUT typically work)', "POST"]) OptEnum.new('HTTP_METHOD', [true, 'HTTP Method', 'POST', ['GET', 'POST', 'PUT'] ])
], self.class) ], self.class)
end end

View File

@ -53,8 +53,7 @@ class Metasploit3 < Msf::Exploit::Remote
[ [
Opt::RPORT(80), Opt::RPORT(80),
OptString.new('URIPATH', [ true, 'The path to a vulnerable Ruby on Rails application', "/"]), OptString.new('URIPATH', [ true, 'The path to a vulnerable Ruby on Rails application', "/"]),
OptString.new('HTTP_METHOD', [ true, 'The HTTP request method (GET, POST, PUT typically work)', "POST"]) OptEnum.new('HTTP_METHOD', [true, 'HTTP Method', 'POST', ['GET', 'POST', 'PUT'] ])
], self.class) ], self.class)
register_evasion_options( register_evasion_options(