Remove setsockopt calls from DNS server

MS-2855/keylogger-mettle-extension
RageLtMan 2016-03-17 19:13:55 -04:00
parent fd6da21560
commit fec23cf0fd
1 changed files with 0 additions and 2 deletions

View File

@ -190,7 +190,6 @@ class Server
if self.serve_udp
@udp_sock = Rex::Socket::Udp.create(self.sock_options)
udp_sock.setsockopt(::Socket::SOL_SOCKET, ::Socket::SO_REUSEADDR, 1)
self.listener_thread = Rex::ThreadFactory.spawn("UDPDNSServerListener", false) {
monitor_listener
}
@ -300,7 +299,6 @@ protected
'LocalHost' => self.udp_sock.localhost,
'LocalPort' => self.udp_sock.localport
)
cli.setsockopt(::Socket::SOL_SOCKET, ::Socket::SO_REUSEADDR, 1)
dispatch_request(cli, buf)
end
end