Giter Club home page Giter Club logo

airodump-iv's Introduction

airodump-iv

A python implementation of airodump-ng - the classic wifi sniffing tool.

airodump-iv is probably inferior in a lot of ways to airodump-ng but is being written as a learning tool. It might also be useful to python developers interested in wifi sniffing.

Currently the only feature in airodump-iv not in airodump-ng is clearly identifying the SSIDs for hidden networks (when possible).

airodump.py is being developed in ubuntu precise with an Alpha AWUS036H or D-Link DWA-123 wireless card.

airodump.py makes uses of scapy for sniffing and protocol/structure parsing

My interest in this project was kicked off by a wifi penetration class @ Blackhat EU. Since then I've read quite a few protocol documents.

Installation & Running

Steps to run include:

  • Grab the code:
    • git clone git://github.com/ivanlei/airodump-iv.git
    • git submodule init
    • git submodule update
    • cd airodump-iv/airoiv
  • Set wireless card into monitor mode:
    • sudo airmon-ng check kill
    • sudo airmon-ng start wlan0
  • Once the card is in monitor mode:
    • sudo python airodump-iv.py
  • To exit
    • CTRL-C (... repeatedly sometimes)

Useful options include:

  • --iface=IFACE - Set the interface to sniff on. By default mon0.
  • --channel=CHANNEL - Monitor a single channel. By default it will channel-hop.
  • --max-channel=MAX_CHANNEL - Set maximum channel during hopping. By default queries Wireless Extensions.
  • --packet_count=PACKET_COUNT - Number of packets to capture. By default unlimited.
  • --input-file=INPUT_FILE - Read from PCAP file.
  • -v - Verbose mode. Does not play well with curses mode.
  • --no-curses - Disable the curses interface.

VirtualBox VM

A Ubuntu precise Vagrantfile is included in the project. It will use puppet standalone to configure a clean wifi test environment in VirtualBox that includes airocrack-ng (from unofficial apt repo), iw tools, wireless-tools, and the contents of this repo.

After installing Vagrant and Virtualbox:

  • Boot the box:
    • cd airodump-iv/Vagrant
    • vagrant up airoiv01
    • vagrant ssh airoiv01
  • Let the box see a usb wifi adapter. From the host:
    • vboxmanage list usbhost and find the UUID of the USB device
    • vboxmanage list vms and find the UUID of the vm
    • vboxmanager controlvm <UUID-of-vm> usbattach <UUID-of-usb-device>

Interesting TODOs

  • Implement channel hopping in a standards compliant manner
  • Fix curses mode display to not have quite so many bugs
  • Improve station display
  • Test with other wifi cards
  • Write unit tests
  • Cleanup code
  • World peace

airodump-iv's People

Contributors

meeuw avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.