String#to_a was removed in 1.9.2, replace with [ str ] for compat
git-svn-id: file:///home/svn/framework3/trunk@10448 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
a5527f7757
commit
0001550e6d
|
@ -61,7 +61,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
def run
|
||||
if datastore['CHALLENGE'].to_s =~ /^([a-fA-F0-9]{16})$/
|
||||
@challenge = datastore['CHALLENGE'].to_a.pack("H*")
|
||||
@challenge = [ datastore['CHALLENGE'] ].pack("H*")
|
||||
else
|
||||
print_error("CHALLENGE syntax must match 0011223344556677")
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue