Sophie

Sophie

distrib > Mageia > 4 > i586 > media > core-release-src > by-pkgid > eeca732bd82c0ea9d789e4388e694e3f > files > 3

samdump2-3.0.0-2.mga4.src.rpm

Name:           samdump2
Version:        3.0.0
Release:        %mkrel 2
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
* Sat Oct 19 2013 umeabot <umeabot> 3.0.0-2.mga4
+ Revision: 523137
- Mageia 4 Mass Rebuild

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