Make the challenge configurable via patch from troulouliou
git-svn-id: file:///home/svn/framework3/trunk@10402 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
6623a54285
commit
74e5c38fe8
|
@ -53,13 +53,20 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
register_options(
|
register_options(
|
||||||
[
|
[
|
||||||
OptString.new('LOGFILE', [ false, "The local filename to store the captured hashes", nil ]),
|
OptString.new('LOGFILE', [ false, "The local filename to store the captured hashes", nil ]),
|
||||||
OptString.new('PWFILE', [ false, "The local filename to store the hashes in Cain&Abel format", nil ])
|
OptString.new('PWFILE', [ false, "The local filename to store the hashes in Cain&Abel format", nil ]),
|
||||||
|
OptString.new('CHALLENGE', [ false, "The 8 byte challenge ", "0011223344556677" ])
|
||||||
], self.class )
|
], self.class )
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def run
|
def run
|
||||||
@challenge = "\x11\x22\x33\x44\x55\x66\x77\x88"
|
unless (datastore['CHALLENGE'] =~ /^([a-fA-F0-9]{16})$/).nil?
|
||||||
|
@challenge = datastore['CHALLENGE'].to_a.pack("H*")
|
||||||
|
else
|
||||||
|
print_error("CHALLENGE syntax must be like 0011223344556677")
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
exploit()
|
exploit()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue