recvfrom allocation changed

bug/bundler_fix
root 2014-12-14 18:58:48 +01:00
parent 84bb5b5215
commit 288954afa0
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Metasploit3 < Msf::Post
begin
::Timeout.timeout(to) do
r = client.railgun.ws2_32.recvfrom(h_icmp, "", 100, 0, from, 16)
r = client.railgun.ws2_32.recvfrom(h_icmp, "\x00" * 100, 100, 0, from, 16)
hop = Rex::Socket.addr_ntoa(r['from'][4..7])
return hop
end