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