Rex::Socket.to_sockaddr changed

bug/bundler_fix
peregrino 2014-11-26 17:51:38 +01:00
parent 16b64ff42a
commit 84bb5b5215
1 changed files with 0 additions and 1 deletions

View File

@ -118,7 +118,6 @@ class Metasploit3 < Msf::Post
end
def connections(remote, dst_port, h_icmp, h_tcp, to)
sock_addr = Rex::Socket.to_sockaddr(remote, dst_port)
r = client.railgun.ws2_32.connect(h_tcp, "\x02\x00" << [dst_port].pack("n") << Rex::Socket.addr_aton(remote) << "\x00"*8 , 16)
# A GetLastError == 1035 is expected since the socket is set to non-blocking mode