Search This thread

forsakenexile

Member
Jan 9, 2011
16
6
O-Town
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_Installing_su_and_the_Superuser_app

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

nmap files: http://xdaforums.com/attachment.php?attachmentid=486422&stc=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.

attachment.php





~Exile~
"When All Else Fails, Try Linux"
 

Attachments

  • NMAP_for_android.zip
    1.4 MB · Views: 5,955
  • nmap_screeny.jpg
    nmap_screeny.jpg
    57.7 KB · Views: 8,775
Last edited:

vapor63

Senior Member
Dec 26, 2010
51
11
Thanks! I know it's nerdy, but I think going from ebook reader to port-mapper is pretty B.A.
 
  • Like
Reactions: fzeta

en3sis

Member
Jun 8, 2014
5
2
Almería
Hi!

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

shell@falcon_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?
 

leapinlar

Senior Member
Oct 18, 2006
8,873
3,878
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
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    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_Installing_su_and_the_Superuser_app

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

    nmap files: http://xdaforums.com/attachment.php?attachmentid=486422&stc=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.

    attachment.php





    ~Exile~
    "When All Else Fails, Try Linux"
    1
    Thanks! I know it's nerdy, but I think going from ebook reader to port-mapper is pretty B.A.