This is an old revision of the document!
Table of Contents
Aigraph-ng - A basic guide
Author: digitalpsyko
Version: 1.01
Last modified on: 5 April 2009
Requirements
- python
- subversion
- graphviz
- make
- aircrack-ng 1.0 (rc2 or better is recommended)
- psyco is recommended but not mandatory
Installing
svn co http://trac.aircrack-ng.org/svn/trunk/airgraph-ng cd airgraph-ng make install
Graph types
- CAPR: Client to AP Relationship. This shows all the clients attached to a particular AP.
- CPG: Common Probe Graph. This will show all probed SSID by clients.
Usage
Help screen
############################################ # Welcome to Airgraph-ng # ############################################ Usage: python airgraph-ng -i [airodumpfile.txt] -o [outputfile.png] -g [CAPR OR CPG] -i Input File -o Output File -g Graph Type [CAPR (Client to AP Relationship) OR CPG (Common probe graph)] -a Print the about -h Print this help
Creating graphs
Now that you've got your nifty new program installed, its time to run some airodump-ng CSV files through it so you can see the graphs this program creates. So you have airodump-ng .txt/.csv files to run through airgraph-ng goto your favorite terminal and cd into the directory where you're keeping them in then type:
airgraph-ng.py -i <choosenfile>.txt -o <choosenfilename>.png -g CAPR
The graph size and the time to generate it depends on the size of your CSV file. So, the more AP's and Clients you get with airodump-ng the bigger the graph it will be.
Combining CSV files
To combine your airodump-ng .txt/.csv files together simply open up a terminal and cd into the directory where you're keeping them in and then type:
dump-join.py -i <file>.txt <file>.txt <file>.txt -o <outputfilename>.txt
Now you can take your combined airodump-ng .txt/.csv files and run it through airgraph-ng to make a larger graph.
Troubleshooting
Airodump-ng doesn't create .txt files anymore
Starting from aircrack-ng 1.0rc3, .txt files were renamed to .csv.
I get 'Psyco optimizer not installed, You may want to download and install it!'
This is just a warning and you can safely ignore this message. However, it is recommended install psyco because it speeds up execution of python code.