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.

Download

It is available at usual location:
http://ftp.linux.hr/kindle/nmap-5.61TEST4-kindle-bin.tar.bz2

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
    /mnt/us/opt/nmap-5.61TEST4/bin/nmap 127.0.0.1
  • 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
    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!

    Advertisements

    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 )

    Twitter picture

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

    Facebook photo

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

    Google+ photo

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

    Connecting to %s

    %d bloggers like this: