Hi all, this is basically what I came up with after mangling with nmap installation on my android. I am a command line guy so this is not something you get from Google Play. Yea you may find nmap for android there but that is installation files, while this is just a basic bash script to do that.
Please take note that your android device must be rooted to do this. IF your device is not rooted, you may try to do it alternately. Please refer here (https://secwiki.org/w/Nmap/Android)
Here is the script.
#!/system/xbin/bash rm -Rf /data/local/nmap cd /sdcard if [ -f /sdcard/nmap-5.61TEST4-android-arm-bin.tar.bz2 ] then echo /sdcard/nmap-5.61TEST4-android-arm-bin.tar.bz2 found skipping download tar -jxvf nmap-5.61TEST4-android-arm-bin.tar.bz2 else wget http://ftp.linux.hr/android/nmap/nmap-5.61TEST4-android-arm-bin.tar.bz2 tar -jxvf nmap-5.61TEST4-android-arm-bin.tar.bz2 fi #remount system for writing files mount -o remount,rw /system if [ -f /data/local/nmap ] then echo /data/local/nmap found skipping else mkdir /data/local/nmap cp /sdcard/nmap-5.61TEST4/bin/* /data/local/nmap cp /sdcard/nmap-5.61TEST4/share/nmap/*services* /data/local/nmap rm -rf /sdcard/nmap-5.61TEST4-android-arm-bin.tar.bz2 rm -rf /sdcard/nmap-5.61TEST4 chmod 777 /data/local/nmap/* fi ln -s /data/local/nmap/nmap /system/xbin/nmap mount -o remount,ro /system nmap --version
Here are some screenshot of the script in action.
For more references:
- https://secwiki.org/w/Nmap/Android
- http://k0st.wordpress.com/2012/01/12/nmap-5-61test4-on-android/
- http://seclists.org/nmap-dev/2012/q1/135
- http://www.dissectingthehack.com/profiles/blogs/nmap-for-android-cross-compile

He has always been interested in computing. He is very passionate when it comes to technology oriented knowledge. He knows that the more that one knows, the more that one needs to learn. Experienced in content management and forms processing, he was a FileNet and Datacap Specialist. He is also a part time gamer and streams sometime.