add register_autofilter_ports
git-svn-id: file:///home/svn/framework3/trunk@8652 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
832d0bcbfa
commit
e1c5334d56
|
@ -44,7 +44,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
|
|
||||||
register_options(
|
register_options(
|
||||||
[
|
[
|
||||||
Opt::RPORT(8180),
|
Opt::RPORT(8080),
|
||||||
OptBool.new('VERBOSE', [ true, 'Verbose output', false]),
|
OptBool.new('VERBOSE', [ true, 'Verbose output', false]),
|
||||||
OptString.new('USERNAME', [ false, 'The username to authenticate as' ]),
|
OptString.new('USERNAME', [ false, 'The username to authenticate as' ]),
|
||||||
OptString.new('PASSWORD', [ false, 'The password for the specified username' ]),
|
OptString.new('PASSWORD', [ false, 'The password for the specified username' ]),
|
||||||
|
@ -57,6 +57,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
OptString.new('UserAgent', [ true, "The HTTP User-Agent sent in the request",
|
OptString.new('UserAgent', [ true, "The HTTP User-Agent sent in the request",
|
||||||
'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' ]),
|
'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' ]),
|
||||||
], self.class)
|
], self.class)
|
||||||
|
register_autofilter_ports([ 80, 443, 8080, 8081, 8000, 8008, 8443, 8444, 8880, 8888 ])
|
||||||
end
|
end
|
||||||
|
|
||||||
def run_host(ip)
|
def run_host(ip)
|
||||||
|
|
Loading…
Reference in New Issue