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.

Revisions

  1. emanuelduss created this gist Aug 21, 2019.
    12 changes: 12 additions & 0 deletions dhcpserver.rc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    # 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