FORUMS
Remove All Ads from XDA

NMAP through Terminal

16 posts
Thanks Meter: 6
 
By forsakenexile, Junior Member on 11th January 2011, 05:05 AM
Post Reply Email Thread
Installing NMAP to run via Terminal


Lets start of by making sure your nook is rooted and you have Superuser and su already setup on your device.

If you need to root your device, please visit http://nookdevs.com/NookColor_Rooting for the walk through process.

Following that you will want to install Superuser and su by following the steps found at http://nookdevs.com/NookColor_Instal..._Superuser_app

Once all that has been completed, we can gather our resources:

nmap files: http://forum.xda-developers.com/atta...1&d=1294720525

Once you download and extracted the nmap files, choose and install your preferred terminal app. I use Better Terminal Emulator Pro, Thanks to Magicandroidapps.com .

Now we are ready to start installing the files.

Load up ADB and run the following commands. This will be assuming that the files are in the same directory as the adb.exe. Otherwise you will need to include the whole file path to the files.

Code:
$ adb usb
$ adb shell
$ mount -o remount,rw /dev/block/mmcblk0p5 /system
$ exit
$ adb push foo /system/bin/nmap
$ adb shell 
$ chmod 755 /system/bin/nmap
$ mkdir /data/bin/
$ exit
$ adb push nmap /data/bin/
$ adb push nmap-4.01-1.spec /data/bin/
$ adb push nmap-mac-prefixes /data/bin/
$ adb push nmap-os-fingerprints /data/bin/
$ adb push nmap-protocols /data/bin/
$ adb push nmap-rpc /data/bin/
$ adb push nmap-service-probes /data/bin/
$ adb push nmap-services /data/bin/
$ adb shell 
$ chmod 755 /data/bin/nmap
$ exit
$ adb reboot
Once your device has rebooted, load your terminal and type nmap. You should then be presented with the nmap man page. You should see the following in your terminal window.






~Exile~
"When All Else Fails, Try Linux"
Attached Thumbnails
Click image for larger version

Name:	nmap_screeny.jpg
Views:	8187
Size:	57.7 KB
ID:	486435  
Attached Files
File Type: zip NMAP_for_android.zip - [Click for QR Code] (1.44 MB, 4851 views)
The Following 4 Users Say Thank You to forsakenexile For This Useful Post: [ View ] Gift forsakenexile Ad-Free
 
 
11th January 2011, 10:31 AM |#2  
Member
Thanks Meter: 11
 
More
Thanks! I know it's nerdy, but I think going from ebook reader to port-mapper is pretty B.A.
The Following User Says Thank You to vapor63 For This Useful Post: [ View ] Gift vapor63 Ad-Free
9th June 2014, 07:24 PM |#3  
en3sis's Avatar
Junior Member
Flag Almería
Thanks Meter: 2
 
More
Hi!

When I try to install, the first command say this:

[email protected]_umts:/ $ mount -o remount,rw /dev/block/mmcblk0p5 /system
mount -o remount,rw /dev/block/mmcblk0p5 /system
mount: Operation not permitted

What I can do?
1st September 2014, 03:25 AM |#4  
rainbowshotdroid's Avatar
Junior Member
Flag Mandalay
Thanks Meter: 0
 
Donate to Me
More
help me
[email protected]#nmap
/system/bin/nmap[1]: /data/bin/nmap: can't execute :Permission denied

How to do it?
Bro help !!!
1st September 2014, 07:11 AM |#5  
leapinlar's Avatar
Recognized Contributor
Thanks Meter: 3,877
 
Donate to Me
More
Quote:
Originally Posted by rainbowshotdroid

[email protected]#nmap
/system/bin/nmap[1]: /data/bin/nmap: can't execute :Permission denied

How to do it?
Bro help !!!

Did you type su first to get it into root mode?

Sent from my BN NookHD+ using XDA Premium HD app
2nd September 2014, 07:33 AM |#6  
rainbowshotdroid's Avatar
Junior Member
Flag Mandalay
Thanks Meter: 0
 
Donate to Me
More
my phone is already rooted. G900H
2nd September 2014, 03:23 PM |#7  
leapinlar's Avatar
Recognized Contributor
Thanks Meter: 3,877
 
Donate to Me
More
Quote:
Originally Posted by rainbowshotdroid

my phone is already rooted. G900H

That does not root it, it puts terminal in root permission mode. Typing su enter will cause terminal to ask for root permission. Once it gets it the cursor changes from a > to a $. Then your commands should work.

Sent from my BN NookHD+ using XDA Premium HD app
25th April 2017, 12:38 PM |#8  
Tegroid's Avatar
Member
Flag Berhampur
Thanks Meter: 0
 
Donate to Me
More
please provide tutorial for latest version of nmap
Post Reply Subscribe to Thread

Tags
network mapper, network mapping, nmap, nmap terminal

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes