nmap

So I got thinking this weekend that I wanted a simple service to allow me to port scan myself from a remote location. I decided I could SSH on to a box but then i’d need to transmit creds etc… as such I quickly coded up some PHP to allow me to scan what ever IP address my request is coming from. I’ve used a server side variable for this… Continue reading

So I decided to write a simple python port scanner but I wanted it to support to TCP, UDP, port ranges (22,23,135-139,443,445,3389 etc) and IP ranges(192.168.0.1/24, 192.168.10-20, example.com)

I also wanted to limit the libraries I used for use on locked down systems, thus, we only use socket, sys and argparse.

The first thing to do was get the code working for a single host and then slowly add bits… Continue reading

So on 21st May 2012 version 6 of nmap was released. Only issue is that they dont seem to release a deb package for it.

No big deal we’ll just have to build our own (tested on BT5r2 32+64bit)…

1234567891011echo "deb http://security.ubuntu.com/ubuntu lucid-security main" >> /etc/apt/sources.list apt-get update apt-get upgrade apt-get install libssl-dev checkinstall wget http://nmap.org/dist/nmap-6.00.tar.bz2 bzip2 -cd nmap-6.00.tar.bz2 | tar xvf - cd nmap-6.00 ./configure make checkinstall --install=no… Continue reading