This is how you install Aircrack-ng on your Samsung Galaxy Tab (or any other android device with ARM architecture).
Before you do this, make sure you already have Backtrack 5 running on your device. If you haven't, please follow this tutorial on r00tsec first.
Backtrack 5 for ARM does not come with Aircrack, which is quite sad since Aircrack is the tool most people really love in Backtrack. But worry not, Justin Barrick aka th3p4tri0t made a shell script for you to install Aircrack-ng on your Android. You can just download it here.
Or if you want to do it step by step (so you would understand what is really you are doing), continue reading.
First we need a Secure Socket Layer library (libssl), but libssl depends on a compression library called zlib1g (notice it is number 1, not small 'L' in '1g'):
apt-get install zlib1g-dev
Once that is done, we can download the SSL library (make sure you download the ARM version of the library, x86 version does not work on your tablet/phone):
Now, using the Debian Package Management System, install the SSL library you just downloaded:
dpkg --install libssl-dev_0.9.8k-7ubuntu8.6_armel.deb
This is optional, but once the library is installed, you may want to remove the downloaded DEB file to make more space for your device:
We now have the necessary libraries ready, so lets get the Aircrack:
apt-get install source-aircrack-ng
We might be used to have aptitude fetching and installing the apps for us, but not this time. Apt-get in this particular case only creating the trees for us and placed the tarball in the right place. We still need to work on the tarball. Lets get to the directory first:
And extract the tarball:
tar -xzf aircrack-ng.tar.gz
Get into the extracted directory:
Compile and install! :
Last thing to do, we need to set the PATH variable
echo "export PATH=$PATH:/usr/local/sbin" >> ~/.bashrc
Need to connect to the Internet on the go? Whose 'secured' Wi-Fi is that? Not so secured anymore!!!
Disclaimer: Please limit the usage of this tool for educational and pentest purposes only (or to satisfy your curiosity), don't just go around stealing other people's Wi-Fi, that's not what real hacking is about. lifutushi.com is not, and should not be held, responsible for any inappropriate use of any tutorial ever published in this website. Use by your own discretion.
|Image from facepunch.com|