Last active
August 29, 2015 14:23
-
-
Save CMDann/cb92376c9eece6a3eb1c to your computer and use it in GitHub Desktop.
Install Aircrack-ng Suite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Installing Aircrack for scanning wifi devices | |
# Author: Daniel Blair | |
# email: dann@bitspacedevelopment.com | |
# | |
# Copyright (c) 2015 Daniel Blair, Bit Space Development | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in | |
# all copies or substantial portions of the Software. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |
# THE SOFTWARE. | |
# Install the ssl development libraries | |
step_1(){ | |
sudo apt-get -y install libssl-dev | |
} | |
# Download aircrack and compile | |
step_2(){ | |
wget http://download.aircrack-ng.org/aircrack-ng-1.2-beta1.tar.gz | |
tar -zxvf aircrack-ng-1.2-beta1.tar.gz | |
cd aircrack-ng-1.2-beta1 | |
make | |
sudo make install | |
} | |
# Update aircrack | |
step_3(){ | |
airodump-ng-oui-update | |
} | |
# Install IW | |
step_4(){ | |
sudo apt-get -y install iw | |
} | |
# Start the software | |
final(){ | |
airmon-ng start wlan0 | |
airodump-ng mon0 | |
} | |
# Call the functions | |
step_1 | |
step_2 | |
step_3 | |
step_4 | |
final |
Sample output:
CH -1 ][ Elapsed: 12 s ][ 2015-06-28 07:22
BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID
AC:22:0B:CE:48:A9 -21 89 0 0 6 54e WPA2 CCMP PSK The Shire
BC:4D:FB:1C:00:68 -61 70 4 0 6 54e. WPA2 CCMP PSK SpareOom
0C:54:A5:FE:29:48 -70 54 41 8 6 54e WPA2 CCMP PSK 5D9706
AC:5D:10:58:38:B6 -73 49 13 0 7 54e WPA2 CCMP PSK MTS239
94:C1:50:E7:BA:AE -88 53 10 1 6 54e WPA2 CCMP PSK MTS884
AC:22:0B:CE:48:A8 -85 59 588 59 6 54e WPA2 CCMP PSK GALLIFREY
BSSID STATION PWR Rate Lost Frames Probe
(not associated) 24:E3:14:61:8E:17 -97 0 - 1 0 3 94:C1:50:E7:BA:AE C8:33:4B:42:62:65 -1 1e- 0 0 1 AC:22:0B:CE:48:A8 00:02:72:39:C4:04 -1 1e- 0 0 1 AC:22:0B:CE:48:A8 EC:0E:C4:4C:E3:B9 -47 1e-24 0 2 AC:22:0B:CE:48:A8 18:0C:AC:AF:60:B6 -127 0 - 0e 0 50 AC:22:0B:CE:48:A8 0C:D2:92:01:F0:63 -127 0e- 0e 146 156 AC:22:0B:CE:48:A8 0C:D2:92:01:F0:63 -127 0e- 0e 162 583
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Used to install the packages here: http://www.aircrack-ng.org/doku.php?id=Main on a Raspberry or Banana Pi.