close socket

This commit is contained in:
space-r7
2023-06-06 14:37:58 -05:00
parent 102a32c87b
commit 2fcd97f5ef
@@ -130,4 +130,8 @@ class MetasploitModule < Msf::Exploit::Remote
pkt = "\x01#{[ serialized.length ].pack('n')}#{serialized}"
udp_sock.put(pkt)
end
def cleanup
disconnect_udp
end
end