AWG Blogs

Saturday, July 4, 2009

udp_scan on Debian 4

Download & Setup:

lftp -c 'open -e "mget port-scan*" ftp.porcupine.org/pub/security'
tar zxvf port-scan.tar.gz
cd port-scan
make CFLAGS=-D_BSD_SOURCE

There will be some errors.

Then, run udp_scan on target:
./udp_scan 10.10.10.10 1-1024

Note: udp_scan also comes with the SATAN package (and its successors).

Installing SATAN 1.1.1 on Debian 4.0

wget http://www.ibiblio.org/pub/packages/security/Satan-for-Linux/satan-1.1.1.linux.fixed2.tgz

unpack in /tmp and cd to satan-1.1.1

edit reconfig:

sed -i 's/version 5/v\(ersion \)\?5/' reconfig

if no dev environment:

apt-get install make
apt-get install build-essential

then:

perl reconfig
make linux

run:

./satan