Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 165380c427203e41443b43f5b28e67f1 > files > 3

bkhive-1.1.1-2.fc16.src.rpm

Name:           bkhive
Version:        1.1.1
Release:        2%{?dist}
Summary:        Dump the syskey bootkey from a Windows system hive

License:        GPLv2+
URL:            http://ophcrack.sourceforge.net/
Source0:        http://downloads.sourceforge.net/ophcrack/%{name}-%{version}.tar.gz

#Patch adds possibility to install with current user and not only root
Patch0:         %{name}-install.patch

%description
This tool is designed to recover the syskey bootkey from a Windows NT/2K/XP
system hive. Then we can decrypt the SAM file with the syskey and dump
password hashes.

Syskey is a Windows feature that adds an additional encryption layer to the
password hashes stored in the SAM database.

%prep
%setup -q
%patch0 -p 1 -b .install


%build
make %{?_smp_mflags} CFLAGS="%{optflags}"


%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
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*



%changelog
* Mon Jun 25 2012 Michal Ambroz <rebus AT seznam.cz> - 1.1.1-2
- fix license - GPLv2+

* Sun May 27 2012 Michal Ambroz <rebus AT seznam.cz> - 1.1.1-1
- initial build for Fedora 17