WifiTap

WifiTAP

Wifitap is a proof of concept for communication over WiFi networks using traffic injection.

Wifitap allows any application do send and receive IP packets using 802.11 traffic capture and injection over a WiFi network simply configuring wj0, which means :

  • setting an IP address consistent with target network address range

  • routing desired traffic through it

In particular, it’s a cheap method for arbitrary packets injection in 802.11 frames without specific library.
In addition, it will allow one to get rid of any limitation set at access point level, such as bypassing inter-client communications prevention systems (e.g. Cisco PSPF) or reaching multiple SSID handled by the same access point.

Usage

Syntax

wifitap -b <BSSID> [-o <iface>] [-i <iface>] [-s <SMAC>] [-w <WEP key> [-k <key id>]] [-d [-v]] [-h]

Options

     -b <BSSID>    specify BSSID for injection
     -o <iface>    specify interface for injection (default: wlan0)
     -i <iface>    specify interface for listening (default: wlan0)
     -s <SMAC>     specify source MAC address for injected frames
     -w <key>      WEP mode and key
     -k <key id>   WEP key id (default: 0)
     -d            activate debug
     -v            verbose debugging
     -h            this so helpful output

Example

cyborg@cyborg:~$ sudo wifitap -b 10:FE:ED:B7:A5:42 -v -o wlan0 -i mon0 -s C8:F7:33:77:1A:BE -d 
Psyco optimizer not installed, running anyway...
IN_IFACE:   mon0
OUT_IFACE:  wlan0
BSSID:      10:fe:ed:b7:a5:42
SMAC:       c8:f7:33:77:1a:be
DEBUG activated
Verbose debugging
tcpdump: WARNING: wlan0: no IPv4 address assigned
Interface wj2 created. Configure it and use it
Received from mon0
RadioTap / 802.11 Control 13L None > 00:c0:ca:75:9f:e2 / Raw


WifiDNS

Syntax

 wifidns -b <BSSID> -a <IP> [-o <iface>] [-i <iface>]
                          [-s <SMAC>] [-t <TTL>] [-w <WEP key>]
                          [-k <key id>]] [-d [-v]] [-h]

Options

     -b <BSSID>    specify BSSID for injection
     -a <IP>       specify IP address for DNS answers
     -t <TTL>      Set TTL (default: 64)
     -o <iface>    specify interface for injection (default: wlan0)
     -i <iface>    specify interface for listening (default: wlan0)
     -s <SMAC>     specify source MAC address for injected frames
     -w <key>      WEP mode and key
     -k <key id>   WEP key id (default: 0)
     -d            activate debug
     -v            verbose debugging
     -h            this so helpful output

Example

cyborg@cyborg:~$ sudo wifidns -b 10:FE:ED:B7:A5:42 -v -o wlan0 -i mon0 -s C8:F7:33:77:1A:BE  -a 192.168.1.4 -d
Psyco optimizer not installed, running anyway...
IN_IFACE:   mon0
OUT_IFACE:  wlan0
BSSID:      10:fe:ed:b7:a5:42
SMAC:       c8:f7:33:77:1a:be
IP:         192.168.1.4
TTL:        64
DEBUG activated
Verbose debugging
tcpdump: WARNING: wlan0: no IPv4 address assigned
Received from mon0
RadioTap / 802.11 Control 13L None > 00:c0:ca:75:9f:e2 / Raw
0 Comments

Leave a reply

CONTACT US

We're are building as a community and a team. Be a part of it.

Sending

©2017 Ztrela Knowledge Solutions Pvt. Ltd

Log in with your credentials

Forgot your details?