Nmap on Amazon Kindle

Amazon Kindle running Nmap

Amazon Kindle running Nmap

Since Nmap is already ported to ARM architecture including Android, I’ve managed to successfully compile 5.51 version of Nmap on Amazon Kindle just recently. This port to Amazon Kindle was pretty straightforward. No source patches were needed.


I’ve just compiled newer version(5.61TEST2 to be exact) of Nmap with OpenSSL support. Initial version (5.51) did not had OpenSSL compiled in. It is available at usual location:

How you should install it?

  • extract nmap-5.61TEST2-kindle-bin.tar.bz2 to opt directory of the root of storage location. That means /mnt/us/opt
    cd /mnt/us/opt
    tar xvjf nmap-5.61TEST2-kindle-bin.tar.bz2
  • check that you have following directory structure: /mnt/us/opt/nmap-5.61TEST2
    ls /mnt/us/opt/nmap-5.61TEST2
  • run nmap
  • Tips

    If you’re not familar, few usual tips. Thanks to various Kindle enthusiasts it is possible to get shell terminal directly on Kindle, so you can run nmap directly from Kindle (you can also run it through ssh – of course!). I’m talking about Kindle 3. Take a look at Amazon Liberation Project and specifically this blog post.


  • Download appropriate scratchbox for kindle
  • run configure
    ac_cv_linux_vers=2 ./configure --host=arm-none-linux --prefix=/mnt/us/opt/nmap-5.61TEST2 --enable-static
    --without-zenmap --with-pcap=linux --with-liblua=included --with-libpcap=internal
    make install
  • that’s it
  • Sample session from initial version

    [root () kindle root]# uname -a
    Linux kindle 2.6.26-rt-lab126 #5 Thu Sep 8 22:30:01 PDT 2011 armv6l unknown
    [root () kindle root]# head -5 /proc/cpuinfo
    Processor : ARMv6-compatible processor rev 3 (v6l)
    BogoMIPS : 255.59
    Features : swp half thumb fastmult vfp edsp java
    CPU implementer : 0x41
    CPU architecture: 6TEJ
    [root () kindle root]# /mnt/us/nmap-5.51/bin/nmap

    Starting Nmap 5.51 ( http://nmap.org ) at 2011-12-11 07:18 CET
    Nmap scan report for localhost.localdomain (
    Host is up (0.00013s latency).
    Not shown: 999 closed ports
    22/tcp open ssh

    Nmap done: 1 IP address (1 host up) scanned in 1.38 seconds

    Good luck and let me if it works for you!

    3 Responses to Nmap on Amazon Kindle

    1. Pingback: Ruby on Amazon Kindle « k0st

    2. Pingback: Nmap 5.61TEST4 on Amazon Kindle « k0st

    3. Pingback: Porting Nmap on Kindle Paperwhite | Axxx's Engineering Blog

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out /  Change )

    Google photo

    You are commenting using your Google account. Log Out /  Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out /  Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out /  Change )

    Connecting to %s

    %d bloggers like this: