Skip to content

Instantly share code, notes, and snippets.

@emanuelduss
Created August 21, 2019 13:38
Show Gist options
  • Select an option

  • Save emanuelduss/92133615374a6a4b3b9344187dbadb0a to your computer and use it in GitHub Desktop.

Select an option

Save emanuelduss/92133615374a6a4b3b9344187dbadb0a to your computer and use it in GitHub Desktop.
Metasploit DHCP Server
# Metasploit DHCP Server
# Start: msfconsole -q -n -r dhcpserver.rc
use auxiliary/server/dhcp
set SRVHOST 10.5.23.1
set DHCPIPSTART 10.5.23.100
set DHCPIPEND 10.5.23.200
set NETMASK 255.255.255.0
set ROUTER 10.5.23.1
set DNSSERVER 8.8.8.8
set DOMAINNAME example.net
exploit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment