Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 8b28a0fc31d79b8f0511c7e723c5cd58 > files > 3

samdump2-3.0.0-1.mga3.src.rpm

Name:           samdump2
Version:        3.0.0
Release:        %mkrel 1
Summary:        Retrieves syskey and extracts hashes from Windows 2k/NT/XP/Vista SAM
Group:          Security
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

%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 CFLAGS="%optflags" LIBS="-lssl -lcrypto"

%install
rm -rf %{buildroot}

OWNER=`id -un`
GROUP=`id -gn`

%makeinstall_std \
    BINDIR=%{_bindir} \
    MANDIR=%{_mandir}/man1/ \
    OWNER=${OWNER} \
    GROUP=${GROUP}

%files
%doc AUTHORS COPYING README LICENSE
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*


%changelog

* Fri Mar 29 2013 guillomovitch <guillomovitch> 3.0.0-1.mga3
+ Revision: 406485
- imported package samdump2