jruby was barfing on super(a, b, c,), so I changed the syntax and wrote a very simple unit test for rewrite_proxy_bypass.

git-svn-id: file:///home/svn/framework3/trunk@13870 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Chao Mu 2011-10-11 13:52:39 +00:00
parent 2d3a431fc2
commit 9414747945
2 changed files with 19 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Metasploit4 < Msf::Auxiliary
[
['URL', 'http://www.contextis.com/research/blog/reverseproxybypass/'],
['CVE', 'CVE-2011-3368'],
],
]
)
register_options(

View File

@ -0,0 +1,18 @@
#!/usr/bin/env ruby
project_root = File.join(File.dirname(__FILE__), '..', '..', '..', '..')
$:.unshift(File.join(project_root, 'lib'))
$:.unshift(File.join(project_root, 'modules'))
require 'test/unit'
require 'msf/core'
class RewriteProxyBypassUnitTest < Test::Unit::TestCase
def test_require
assert_nothing_raised do
require 'auxiliary/scanner/http/rewrite_proxy_bypass'
end
end
end