Building Unicornscan in Kali Linux 1.0

Written on March 14, 2013

Unicornscan is no longer packaged with Kali Linux 1.0. One of my scripts (onetwopunch.sh) happens to use it, so I went about building Unicornscan from source. I ran into a couple of snags when building it, but I’ve documented it here to make things easier for others.

Unicornscan requires flex which isn’t installed in Kali Linux 1.0, so install it:

root@kali# apt-get install flex

This should install smoothly, and once it’s, download the latest version of Unicornscan from http://www.unicornscan.org/. Unpack it and build as follows:

root@kali# ./configure CFLAGS=-D_GNU_SOURCE && make && make install

Once it’s done, you’ll find unicornscan in /usr/local/bin