--- samdump2-1.1.1.orig/Makefile +++ samdump2-1.1.1/Makefile @@ -23,7 +23,7 @@ INSTALL = $(shell which install) CC = $(shell which gcc) CFLAGS = -LIBS = -lssl +LIBS = -lcrypto # Default target all: build --- samdump2-1.1.1.orig/debian/control +++ samdump2-1.1.1/debian/control @@ -0,0 +1,19 @@ +Source: samdump2 +Section: admin +Priority: optional +Maintainer: Adam Cécile (Le_Vert) +Build-Depends: debhelper (>= 5), libssl-dev +Standards-Version: 3.7.2 +Homepage: http://ophcrack.sourceforge.net/ + +Package: samdump2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: bkhive +Suggests: ophcrack +Description: Dump Windows 2k/NT/XP password hashes + This tool is designed to dump Windows 2k/NT/XP password hashes from a SAM + file. It requires the syskey key which can be found with tools like bkhive. + . + Syskey is a Windows feature that adds an additional encryption layer to the + password hashes stored in the SAM database. --- samdump2-1.1.1.orig/debian/manpages +++ samdump2-1.1.1/debian/manpages @@ -0,0 +1 @@ +debian/samdump2.1 --- samdump2-1.1.1.orig/debian/samdump2.1 +++ samdump2-1.1.1/debian/samdump2.1 @@ -0,0 +1,17 @@ +.TH SAMDUMP2 1 "November 2007" "Version 1.1.1" + +.SH NAME +samdump2 -- dumps Windows 2k/NT/XP/Vista password hashes +.SH SYNOPSIS +samdump2 +.SH EXAMPLE +samdump2 /mnt/ntfs/WINDOWS/system32/config/sam out +.SH AUTHOR +This manual page was written by Adam Cecile for the Debian system (but may be used by others). +Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation +On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. +.SH SEE ALSO +.br +.B bkhive(1) +.br +.B ophcrack(1) --- samdump2-1.1.1.orig/debian/copyright +++ samdump2-1.1.1/debian/copyright @@ -0,0 +1,148 @@ +This package was debianized by Adam Cécile (Le_Vert) on +Sat, 14 Oct 2006 07:10:23 +0200. + +It was downloaded from http://ophcrack.sourceforge.net/ + +Upstream Author: Nicola Cuomo + Cedric Tissieres + +Copyright: (C) 2004-2006 Nicola Cuomo + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the OpenSSL + library. + You must obey the GNU General Public License in all respects for all of + the code used other than OpenSSL. If you modify file(s) with this + exception, you may extend this exception to your version of the file(s), + but you are not obligated to do so. If you do not wish to do so, delete + this exception statement from your version. If you delete this exception + statement from all source files in the program, then also delete it here. + + The exception above also apply to LibDES. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +However most of the files used in this software are (C) 1995-1998 Eric Young + and distributed under terms the license below : + + This library is free for commercial and non-commercial use as long as + the following conditions are aheared to. The following conditions + apply to all code found in this distribution, be it the RC4, RSA, + lhash, DES, etc., code; not just the SSL code. The SSL documentation + included with this distribution is covered by the same copyright terms + except that the holder is Tim Hudson (tjh@cryptsoft.com). + + Copyright remains Eric Young's, and as such any Copyright notices in + the code are not to be removed. + If this package is used in a product, Eric Young should be given attribution + as the author of the parts of the library used. + This can be in the form of a textual message at program startup or + in documentation (online or textual) provided with the package. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + "This product includes cryptographic software written by + Eric Young (eay@cryptsoft.com)" + The word 'cryptographic' can be left out if the rouines from the library + being used are not cryptographic related :-). + 4. If you include any Windows specific code (or a derivative thereof) from + the apps directory (application code) you must include an acknowledgement: + "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" + + THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + The licence and distribution terms for any publically available version or + derivative of this code cannot be changed. i.e. this code cannot simply be + copied and put under another distribution licence + [including the GNU Public Licence.] + +All files except those listed below are distributed under the license above. + +"md32_common.h" is (C) 1999-2002 The OpenSSL Project and distributed under + terms of license below : + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. All advertising materials mentioning features or use of this + software must display the following acknowledgment: + "This product includes software developed by the OpenSSL Project + for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" + + 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to + endorse or promote products derived from this software without + prior written permission. For written permission, please contact + licensing@OpenSSL.org. + + 5. Products derived from this software may not be called "OpenSSL" + nor may "OpenSSL" appear in their names without prior written + permission of the OpenSSL Project. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes software developed by the OpenSSL Project + for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" + + THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY + EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR + ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + +"hive.cpp", "hive.h" and "samdump2.cpp" are (C) 2004-2006 Nicola Cuomo + and distributed under terms of the GNU General +Public License with an OpenSSL linking exception (See top of this file). + +The Debian packaging is (C) 2006, Adam Cécile (Le_Vert) +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- samdump2-1.1.1.orig/debian/watch +++ samdump2-1.1.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/ophcrack/samdump2-(.+)\.tar\.gz --- samdump2-1.1.1.orig/debian/compat +++ samdump2-1.1.1/debian/compat @@ -0,0 +1 @@ +5 --- samdump2-1.1.1.orig/debian/docs +++ samdump2-1.1.1/debian/docs @@ -0,0 +1 @@ +README --- samdump2-1.1.1.orig/debian/rules +++ samdump2-1.1.1/debian/rules @@ -0,0 +1,52 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + $(MAKE) CFLAGS="$(CFLAGS)" + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) install PREFIX=/usr DESTDIR=$(CURDIR)/debian/samdump2 + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + rm -rf $(CURDIR)/debian/samdump2/usr/share/man + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- samdump2-1.1.1.orig/debian/changelog +++ samdump2-1.1.1/debian/changelog @@ -0,0 +1,22 @@ +samdump2 (1.1.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Link with -lcrypto instead of -lssl. (Closes: #556335) + * debian/rules: Use dh_prep instead of dh_clean -k. + + -- Ansgar Burchardt Sat, 04 Jun 2011 09:56:51 +0200 + +samdump2 (1.1.1-1) unstable; urgency=low + + * New upstream release. + * Fix debian/watch (Closes: #453564). + * Fix wathis manpage entry (bad SH NAME section). + * Move homepage to new dpkg field. + + -- Adam Cécile (Le_Vert) Sun, 02 Dec 2007 14:54:59 +0100 + +samdump2 (1.1.0-1) unstable; urgency=low + + * Initial release (Closes: #392905). + + -- Adam Cécile (Le_Vert) Sat, 14 Oct 2006 07:10:23 +0200