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-b9f4589650da
unstable
James Lee 2009-12-17 16:14:27 +00:00
parent f2ec7795e2
commit 2bb2729064
1 changed files with 1 additions and 1 deletions

View File

@ -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*")