Nmap 5.61TEST4 on Amazon Kindle

Amazon Kindle running Nmap

Amazon Kindle running Nmap

Happy New Year! Since Fyodor released Nmap 5.61TEST4 version, I had to compile it for Kindle. Again, this port to Amazon Kindle was pretty straightforward (as previous ones). No source patches were needed.


It is available at usual location:

How you should install it?

  • extract nmap-5.61TEST4-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.61TEST4-kindle-bin.tar.bz2
  • check that you have following directory structure: /mnt/us/opt/nmap-5.61TEST4
    ls /mnt/us/opt/nmap-5.61TEST4
  • run nmap
  • Compilation

  • Download appropriate scratchbox for kindle
  • run configure

    LDFLAGS="-static" ac_cv_linux_vers=2 ./configure --host=arm-none-linux --prefix=/mnt/us/opt/nmap-5.61TEST4 --enable-static --without-zenmap --with-pcap=linux --with-liblua=included --with-libpcap=internal

    or if building with OpenSSL (you have to cross compile OpenSSL first which is different story):

    ac_cv_func_EVP_sha256=yes LDFLAGS="-static" ac_cv_linux_vers=2 ./configure --host=arm-none-linux --prefix=/mnt/us/opt/nmap-5.61TEST4 --enable-static --without-zenmap --with-pcap=linux --with-liblua=included --with-libpcap=internal --with-openssl=/mnt/us/opt/openssl-1.0.0e-s
    make install
  • that’s it
  • Tips

    If you’re not familar with Nmap on Amazon Kindle or getting shell on Amazon Kindle, I would recommend to read my previous posts on Nmap on Amazon Kindle:

  • Nmap on Amazon Kindle
  • my post on nmap-dev mailing list
  • Good luck and let me if it works for you!