Skip to content

Instantly share code, notes, and snippets.

@ralphcrisostomo
Last active July 20, 2016 05:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ralphcrisostomo/86cdc21efdcab628c0c3 to your computer and use it in GitHub Desktop.
Save ralphcrisostomo/86cdc21efdcab628c0c3 to your computer and use it in GitHub Desktop.

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