Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

KALI VMWARE

Ref: http://www.contextis.com/resources/blog/wireless-phishing-captive-portals/

/etc/hostapd/hostapd.conf
nterface=wlan0
driver=nl80211
ssid=NotFreeWifi
channel=6
hw_mode=g
macaddr_acl=0
auth_algs=1
/etc/dnsmasq.conf
# log-facility=/var/log/dnsmasq.log
# log-queries
address=/#/10.0.0.1
interface=wlan0
dhcp-range=10.0.0.10,10.0.0.250,12h
no-resolv
/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

wireless-power on
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 10.0.0.1
netmask 255.255.255.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment