Skip to content

Commit 7c91aee

Browse files
author
HD Moore
committed
Dont use a "connected" to keep compat with BSD
1 parent cec20ec commit 7c91aee

File tree

1 file changed

+0
-2
lines changed
  • lib/metasploit/framework/login_scanner

1 file changed

+0
-2
lines changed

lib/metasploit/framework/login_scanner/snmp.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,6 @@ def parse_snmp_response(pkt)
320320
def configure_socket
321321
shutdown_socket if self.sock
322322
self.sock = ::Rex::Socket::Udp.create(
323-
'PeerHost' => self.host,
324-
'PeerPort' => self.port,
325323
'Context' =>
326324
{ 'Msf' => framework, 'MsfExploit' => framework_module }
327325
)

0 commit comments

Comments
 (0)