fix an undefined constant bug reported to the mailing list by Razeor
git-svn-id: file:///home/svn/framework3/trunk@7908 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
f2ec7795e2
commit
2bb2729064
|
@ -63,7 +63,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
num_types = sock.get_once(1).unpack("C").first
|
||||
if (num_types == 0)
|
||||
msg_len = sock.get_once(4).unpack("N").first
|
||||
raise RunTimeError.new("Server error: #{sock.get_once(msg_len)}")
|
||||
raise RuntimeError.new("Server error: #{sock.get_once(msg_len)}")
|
||||
end
|
||||
types = sock.get_once(num_types).unpack("C*")
|
||||
|
||||
|
|
Loading…
Reference in New Issue