Name: samdump2 Version: 3.0.0 Release: 1%{?dist} Summary: Retrieves syskey and extracts hashes from Windows 2k/NT/XP/Vista SAM #MD5 RC4 DES functions are linked from openssl library #Code of samdump2 is GPLv2+ License: GPLv2+ URL: http://sourceforge.net/projects/ophcrack/files/samdump2 Source0: http://downloads.sourceforge.net/ophcrack/%{name}-%{version}.tar.bz2 Patch0: %{name}-install.patch BuildRequires: openssl-devel #Requires: %description This tool is designed to recover the syskey bootkey from Windows NT/2K/XP/Vista system hive and uses it to decrypt and dump password hashes from the SAM hive. %prep %setup -q %patch0 -p 1 -b .install %build make %{?_smp_mflags} CFLAGS="%{optflags}" LIBS="-lssl -lcrypto" %install rm -rf %{buildroot} OWNER=`id -un` GROUP=`id -gn` make install DESTDIR=%{buildroot} BINDIR=%{_bindir} MANDIR=%{_mandir}/man1/ OWNER=${OWNER} GROUP=${GROUP} %files %doc AUTHORS COPYING README LICENSE %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Sun May 27 2012 Michal Ambroz <rebus AT seznam.cz> - 3.0.0-1 - initial build for Fedora 17