Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Nmap on Amazon Kindle
From: Vlatko Kosturjak <kost () linux hr>
Date: Sun, 11 Dec 2011 07:38:34 +0100

Hello!

Since Nmap was already ported to arm architecture including Android, this
port to Amazon Kindle was pretty straightforward. No source patches needed.
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:
http://blog.rot13.org/2011/12/liberate-your-kindle-3-and-get-full-screen-terminal.html

Sample session
==============
[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 127.0.0.1

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

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

Download
========
Currently the binary is available here:
http://ftp.linux.hr/kindle/nmap-5.51-kindle-bin.tar.bz2

Installation
============
* extract nmap-5.51-kindle-bin.tar.bz2 to root of storage location (/mnt/us)
        cd /mnt/us
        tar xvjf nmap-5.51-kindle-bin.tar.bz2

* check that you have following directory structure: /mnt/us/nmap-5.51
        ls /mnt/us/nmap-5.51

* run nmap
        /mnt/us/nmap-5.51/bin/nmap 127.0.0.1

Compilation
===========
* Download appropriate scratchbox for kindle
* run configure
        ac_cv_linux_vers=2 ./configure --host=arm-none-linux --prefix=/mnt/us/nmap-5.5 1 --enable-static 
--without-zenmap --with-pcap=linux --with-liblua=included --with-libpcap=internal
        make
        make install
* that's it

Good luck and let me if it works for you!
-- 
Vlatko Kosturjak - KoSt
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
  • Nmap on Amazon Kindle Vlatko Kosturjak (Dec 11)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault