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-b9f4589650daunstable
parent
2d3a431fc2
commit
9414747945
|
@ -25,7 +25,7 @@ class Metasploit4 < Msf::Auxiliary
|
|||
[
|
||||
['URL', 'http://www.contextis.com/research/blog/reverseproxybypass/'],
|
||||
['CVE', 'CVE-2011-3368'],
|
||||
],
|
||||
]
|
||||
)
|
||||
|
||||
register_options(
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue