Feb 082014
 

I recently installed samdump2 from the Ubuntu repositories, but it turned out to be a very outdated version (1.x). The current version is 3.0.0 ! So I went to compile it myself, which is very easy but also has a little bug in the Makefile…

How do you compile it:

wget "http://switch.dl.sourceforge.net/project/ophcrack/samdump2/3.0.0/samdump2-3.0.0.tar.bz2"
tar xvf samdump2-3.0.0.tar.bz2
cd samdump2-3.0.0
make

Now you might see this error:
/usr/lib/libcrypto.so.1.0.0: could not read symbols: Invalid operation

It can easily be removed when you add “-lcrypto” to the libraries in the Makefile like this

LIBS = -lssl #before
LIBS = -lssl -crypto #after

Now make clean && make and you are ready to go :-)