LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pdfcrack.spec of Package pdfcrack (Project home:deltafox)

Name:           pdfcrack
Version:        0.11
Release:        1.0
Summary:        A Password Recovery Tool for PDF-files
Group:          Productivity/Security
License:        GPLv2
Url:            http://pdfcrack.sourceforge.net/
Source:         %{name}-%{version}.tar.bz2
Patch0:         %{name}-0.11-makefile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
PDFCrack is a GNU/Linux (other POSIX-compatible systems should work too)
tool for recovering passwords and content from PDF-files. It is small,
command line driven without external dependencies. The application is
Open Source (GPL).

Features:

* Supports the standard security handler (revision 2, 3 and 4) on all known PDF-versions
* Supports cracking both owner and userpasswords
* Both wordlists and bruteforcing the password is supported
* Simple permutations (currently only trying first character as Upper Case)
* Save/Load a running job
* Simple benchmarking
* Optimised search for owner-password when user-password is known

%prep
%setup -q
%patch0 -p1

%build
make %{?_smp_mflags}

%install
install -D -m 0755 pdfcrack %{buildroot}%{_bindir}/pdfcrack

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc COPYING changelog README TODO
%{_bindir}/pdfcrack

%changelog
* Sun Dec 07 2008 bitshuffler #suse@irc.freenode.org
- Initial RPM