Skip to content

Commit 84bb5b5

Browse files
peregrinoperegrino
authored andcommitted
Rex::Socket.to_sockaddr changed
1 parent 16b64ff commit 84bb5b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/post/windows/recon/outbound_ports.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ def tcp_setup(ttl)
118118
end
119119

120120
def connections(remote, dst_port, h_icmp, h_tcp, to)
121-
sock_addr = Rex::Socket.to_sockaddr(remote, dst_port)
122121
r = client.railgun.ws2_32.connect(h_tcp, "\x02\x00" << [dst_port].pack("n") << Rex::Socket.addr_aton(remote) << "\x00"*8 , 16)
123122

124123
# A GetLastError == 1035 is expected since the socket is set to non-blocking mode

0 commit comments

Comments
 (0)