Files
metasploit-gs/lib/msf/core
James Lee d0650dfb25 Put a bandaid over getsockname
Depending on how a socket was created, #getsockname will return either a
struct sockaddr as a String (the default ruby Socket behavior) or an
Array (the extend'd Rex::Socket::Tcp behavior). Avoid the ambiguity when
generating SSL certificates for meterpreter handlers by always picking a
random hostname.

This is by no means a proper fix for the underlying problem of
Socket#getsockname having ambiguous behavior before and after being
extended with Rex::Socket::Tcp. It does, however, solve the immediate
problem of not being able to create tunneled meterpreter sessions over
http(s) sessions.

[SeeRM #7350]
2012-10-29 22:45:46 -05:00
..
2012-10-29 22:45:46 -05:00
2012-10-22 17:22:37 -04:00
2012-10-05 00:53:23 -05:00
2012-08-07 09:53:01 -05:00
2012-10-04 16:32:12 -05:00
2012-10-12 21:48:15 -05:00
2012-10-01 13:09:30 -05:00
2012-07-15 15:46:54 -05:00
2012-10-12 21:48:15 -05:00