Skip to content

Commit 6516abb

Browse files
author
HD Moore
committed
Fix an ancient bug in the DHCP mixin, lands rapid7#3890
2 parents be6552d + bdac82b commit 6516abb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/msf/core/exploit/dhcp.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def start_service(hash = {}, context = {})
2121
@dhcp = Rex::Proto::DHCP::Server.new(hash, context)
2222
print_status("Starting DHCP server") if datastore['VERBOSE']
2323
@dhcp.start
24-
add_socket(@dhcp.socket)
24+
add_socket(@dhcp.sock)
2525
@dhcp
2626
end
2727

@@ -34,4 +34,3 @@ def stop_service
3434
end
3535

3636
end
37-

0 commit comments

Comments
 (0)