Compiling ncrack from source code and creating a .deb package
From Cryptolife
Ncrack is an open source tool for network authentication cracking. http://nmap.org/ncrack/
1) Install the building packages.
apt-get install build-essential checkinstall
2) Get ncrack source code, check the website for the latest!
wget http://nmap.org/ncrack/dist/ncrack-0.01ALPHA.tar.gz
3) Decompress,configure and build.
tar xvfz ncrack-0.01ALPHA.tar.gz cd ncrack ./configure && make
4) Make the .deb package with checkinstall.Due a bug you need to provide the version.
checkinstall
*****************************************
**** Debian package creation selected ***
*****************************************
This package will be built according to these values:
0 - Maintainer: [ root@laptop ]
1 - Summary: [ Package created with checkinstall 1.6.1 ]
2 - Name: [ ncrack ]
3 - Version: [ ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ ncrack ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ ncrack ]
Enter a number to change any of them or press ENTER to continue:
select 3 an place the version number in this case 0.01a
type ENTER
**********************************************************************
Done. The new package has been installed and saved to
/home/laptop/compile/ncrack/ncrack_0.01a-1_i386.deb
You can remove it from your system anytime using:
dpkg -r ncrack
**********************************************************************
5) Install Ncrack
dpkg -i ncrack_0.01a-1_i386.deb
6) Ncrack reference guide
man ncrack

