[Forensics-changes] [hashrat] 02/02: Import Debian patch 1.8.3+dfsg-1

Giovani Augusto Ferreira giovani-guest at moszumanska.debian.org
Wed Sep 28 17:27:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

giovani-guest pushed a commit to branch debian
in repository hashrat.

commit 53ad62791f7d10b73f8fd906e74b3ceb222538c3
Merge: 55d23c7 c951389
Author: Giovani Augusto Ferreira <giovani at riseup.net>
Date:   Sun Sep 25 18:51:56 2016 -0300

    Import Debian patch 1.8.3+dfsg-1

 Makefile.in => Makefile                            |  24 +-
 Makefile.in                                        |   8 +-
 README                                             |   5 +
 cgi.c                                              | 166 ++---
 check-hash.c                                       |   9 +-
 check.sh                                           |  42 +-
 command-line-args.c                                |  18 +-
 common.c                                           |   4 +-
 common.h                                           |   8 +-
 configure                                          |   4 +-
 configure.ac                                       |   2 +-
 debian/README.source                               |   6 +
 debian/changelog                                   |  13 +
 debian/copyright                                   |  10 +-
 debian/patches/fix-manpage-path                    |  15 -
 debian/patches/fix-spelling-manpage                |  43 --
 debian/patches/{fix-help => fix-spelling.patch}    | 103 +++-
 debian/patches/series                              |   4 +-
 debian/watch                                       |   1 +
 files.c                                            | 103 +++-
 files.h                                            |   2 +-
 filesigning.c                                      |   7 +-
 find.c                                             |  12 +-
 fingerprint.c                                      |  30 +-
 hashrat.1                                          |  11 +-
 libUseful-2.1/ConnectionChain.c                    | 298 ---------
 libUseful-2.1/Copy.sh                              |   6 -
 libUseful-2.1/FileSystem.h                         |  31 -
 libUseful-2.1/Time.h                               |  23 -
 {libUseful-2.1 => libUseful-2.5}/Compression.c     |   0
 {libUseful-2.1 => libUseful-2.5}/Compression.h     |   0
 {libUseful-2.1 => libUseful-2.5}/ConnectManager.c  |  18 +-
 {libUseful-2.1 => libUseful-2.5}/ConnectManager.h  |   0
 libUseful-2.5/ConnectionChain.c                    | 545 +++++++++++++++++
 {libUseful-2.1 => libUseful-2.5}/ConnectionChain.h |   0
 {libUseful-2.1 => libUseful-2.5}/DataProcessing.c  |   4 +-
 {libUseful-2.1 => libUseful-2.5}/DataProcessing.h  |   0
 .../Docs/ConnectManager.txt                        |   0
 .../Docs/DataProcessing.txt                        |   0
 .../Docs/EncryptedFiles.txt                        |   0
 .../Docs/GeneralFunctions.txt                      |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/Hash.txt     |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/Log.txt      |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/directory    |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/expect.txt   |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/file.txt     |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/http.txt     |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/includes.txt |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/inet.txt     |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/list.txt     |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/pty.txt      |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/socket.txt   |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/sound.txt    |   0
 {libUseful-2.1 => libUseful-2.5}/Docs/string.txt   |   0
 .../Docs/unix_socket.txt                           |   0
 {libUseful-2.1 => libUseful-2.5}/EncryptedFiles.c  |   0
 {libUseful-2.1 => libUseful-2.5}/EncryptedFiles.h  |   0
 {libUseful-2.1 => libUseful-2.5}/FileSystem.c      |  15 +-
 libUseful-2.5/FileSystem.h                         |  31 +
 .../GeneralFunctions.c                             | 105 ++--
 .../GeneralFunctions.h                             |   0
 {libUseful-2.1 => libUseful-2.5}/Hash.c            | 227 +++----
 {libUseful-2.1 => libUseful-2.5}/Hash.h            |   6 +-
 {libUseful-2.1 => libUseful-2.5}/LICENCE           |   0
 {libUseful-2.1 => libUseful-2.5}/Log.c             |  53 +-
 {libUseful-2.1 => libUseful-2.5}/Log.h             |   3 +
 .../Makefile.in => libUseful-2.5/Makefile          |  30 +-
 {libUseful-2.1 => libUseful-2.5}/Makefile.in       |  20 +-
 {libUseful-2.1 => libUseful-2.5}/Markup.c          |  33 +-
 {libUseful-2.1 => libUseful-2.5}/Markup.h          |   3 +-
 {libUseful-2.1 => libUseful-2.5}/MathExpr.c        |   0
 {libUseful-2.1 => libUseful-2.5}/MathExpr.h        |   0
 libUseful-2.5/MessageBus.c                         | 364 +++++++++++
 libUseful-2.5/MessageBus.h                         |  26 +
 {libUseful-2.1 => libUseful-2.5}/ParseURL.c        |   0
 {libUseful-2.1 => libUseful-2.5}/ParseURL.h        |   0
 {libUseful-2.1 => libUseful-2.5}/PatternMatch.c    | 194 ++++--
 .../PatternMatch.c-                                |  30 +-
 {libUseful-2.1 => libUseful-2.5}/PatternMatch.h    |   6 +-
 {libUseful-2.1 => libUseful-2.5}/README            |   0
 {libUseful-2.1 => libUseful-2.5}/SpawnPrograms.c   |  29 +-
 {libUseful-2.1 => libUseful-2.5}/SpawnPrograms.h   |   8 +-
 {libUseful-2.1 => libUseful-2.5}/Time.c            |  56 +-
 libUseful-2.5/Time.h                               |  27 +
 {libUseful-2.1 => libUseful-2.5}/Tokenizer.c       | 198 +++++-
 {libUseful-2.1 => libUseful-2.5}/Tokenizer.h       |  10 +-
 {libUseful-2.1 => libUseful-2.5}/Vars.c            |  92 +--
 {libUseful-2.1 => libUseful-2.5}/Vars.h            |   1 +
 {libUseful-2.1 => libUseful-2.5}/ansi.c            |  14 +
 {libUseful-2.1 => libUseful-2.5}/ansi.h            |   1 +
 {libUseful-2.1 => libUseful-2.5}/base64.c          |   0
 {libUseful-2.1 => libUseful-2.5}/base64.h          |   0
 {libUseful-2.1 => libUseful-2.5}/buckets.c         |   2 +-
 {libUseful-2.1 => libUseful-2.5}/configure         |  41 +-
 {libUseful-2.1 => libUseful-2.5}/configure.ac      |  41 +-
 {libUseful-2.1 => libUseful-2.5}/crc32.c           |   0
 {libUseful-2.1 => libUseful-2.5}/crc32.h           |   0
 {libUseful-2.1 => libUseful-2.5}/defines.h         |   2 +
 {libUseful-2.1 => libUseful-2.5}/expect.c          |   0
 {libUseful-2.1 => libUseful-2.5}/expect.h          |   0
 {libUseful-2.1 => libUseful-2.5}/file.c            | 679 ++++++++++++++-------
 {libUseful-2.1 => libUseful-2.5}/file.h            |  45 +-
 {libUseful-2.1 => libUseful-2.5}/http.c            | 337 ++++++----
 {libUseful-2.1 => libUseful-2.5}/http.h            |  37 +-
 {libUseful-2.1 => libUseful-2.5}/includes.h        |   0
 {libUseful-2.1 => libUseful-2.5}/inet.c            |  46 +-
 {libUseful-2.1 => libUseful-2.5}/inet.h            |   2 +-
 {libUseful-2.1 => libUseful-2.5}/install-sh        |   0
 {libUseful-2.1 => libUseful-2.5}/jh_ref.c          |   0
 {libUseful-2.1 => libUseful-2.5}/jh_ref.h          |   0
 {libUseful-2.1 => libUseful-2.5}/libUseful.h       |   2 +
 {libUseful-2.1 => libUseful-2.5}/libsettings.c     |   0
 {libUseful-2.1 => libUseful-2.5}/libsettings.h     |   0
 {libUseful-2.1 => libUseful-2.5}/list.c            |  74 ++-
 {libUseful-2.1 => libUseful-2.5}/list.h            |  27 +-
 {libUseful-2.1 => libUseful-2.5}/md5-global.h      |   0
 {libUseful-2.1 => libUseful-2.5}/md5.h             |   0
 {libUseful-2.1 => libUseful-2.5}/md5c.c            |   0
 libUseful-2.5/mmap.c                               |  17 +
 {libUseful-2.1 => libUseful-2.5}/oauth.c           |  10 +-
 {libUseful-2.1 => libUseful-2.5}/oauth.h           |   0
 {libUseful-2.1 => libUseful-2.5}/openssl.c         |  82 ++-
 {libUseful-2.1 => libUseful-2.5}/openssl.h         |   0
 {libUseful-2.1 => libUseful-2.5}/proctitle.c       |   0
 {libUseful-2.1 => libUseful-2.5}/proctitle.h       |   0
 {libUseful-2.1 => libUseful-2.5}/pty.c             |   0
 {libUseful-2.1 => libUseful-2.5}/pty.h             |   0
 libUseful-2.5/securemem.c                          | 184 ++++++
 libUseful-2.5/securemem.h                          |  20 +
 {libUseful-2.1 => libUseful-2.5}/sha1.c            |   0
 {libUseful-2.1 => libUseful-2.5}/sha1.h            |   0
 {libUseful-2.1 => libUseful-2.5}/sha2.c            |   0
 {libUseful-2.1 => libUseful-2.5}/sha2.h            |   0
 {libUseful-2.1 => libUseful-2.5}/socket.c          | 521 +++++++++++-----
 {libUseful-2.1 => libUseful-2.5}/socket.h          |  29 +-
 {libUseful-2.1 => libUseful-2.5}/sound.c           |   2 +-
 {libUseful-2.1 => libUseful-2.5}/sound.h           |   0
 libUseful-2.5/ssh.c                                |  83 +++
 libUseful-2.5/ssh.h                                |   8 +
 {libUseful-2.1 => libUseful-2.5}/string.c          | 147 +++--
 {libUseful-2.1 => libUseful-2.5}/string.h          |   9 +-
 {libUseful-2.1 => libUseful-2.5}/tar.c             |   8 +-
 {libUseful-2.1 => libUseful-2.5}/tar.h             |   0
 libUseful-2.5/test.c                               |  76 +++
 {libUseful-2.1 => libUseful-2.5}/unix_socket.c     | 105 ++--
 {libUseful-2.1 => libUseful-2.5}/unix_socket.h     |   4 +-
 {libUseful-2.1 => libUseful-2.5}/whirlpool.c       |   0
 {libUseful-2.1 => libUseful-2.5}/whirlpool.h       |   0
 main.c                                             | 125 ++--
 memcached.c                                        |   2 +-
 ssh.c                                              |  18 +-
 xattr.c                                            |   2 +-
 152 files changed, 4162 insertions(+), 1782 deletions(-)

diff --cc debian/README.source
index 0000000,0000000..f5145ac
new file mode 100644
--- /dev/null
+++ b/debian/README.source
@@@ -1,0 -1,0 +1,6 @@@
++hashrat for Debian
++----------------
++
++Removed prebuilt binary files (mmap.exe and test.exe) from the source code.
++
++ -- Giovani Augusto Ferreira <giovani at riseup.net>  Sun, 25 Sep 2016 23:15:20 -0300
diff --cc debian/changelog
index 626201d,0000000..e6c8886
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,91 -1,0 +1,104 @@@
++hashrat (1.8.3+dfsg-1) unstable; urgency=medium
++
++  * New upstream release
++  * Added the 'dfsg' suffix.
++  * debian/copyright: updated version from libUseful* files.
++  * debian/patches:
++      - fix-help and fix-spelling-manpage was merged to fix-spelling.patch.
++      - fix-manpage-patch was removed, the Upstream fixed in source code.
++  * debian/README.source: created to explain about the dfsg action.
++  * debian/watch: added a mangle rule to handle the '+dfsg' suffix.
++
++ -- Giovani Augusto Ferreira <giovani at riseup.net>  Sun, 25 Sep 2016 18:51:56 -0300
++
 +hashrat (1.8.1-2) unstable; urgency=medium
 +
 +  * debian/watch:
 +      -fixed to pick up new versions, previous Debian release
 +       without adjustment. (Closes: #832141)
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Tue, 26 Jul 2016 07:50:36 -0300
 +
 +hashrat (1.8.1-1) unstable; urgency=medium
 +
 +  * New upstream release
 +  * debian/control:
 +      - Bumped Standards-Version to 3.9.8.
 +  * debian/patches/*:
 +      - updated the version to 1.8.1 in all files.
 +  * debian/watch:
 +      - improved to catch new versions starting with the letter 'v'.
 +        Thanks Samuel Henrique for patch. (Closes: #832141)
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Sat, 23 Jul 2016 23:42:11 -0300
 +
 +hashrat (1.8.0-1) unstable; urgency=medium
 +
 +  * New upstream release
 +  * debian/control:
 +      - Changed from cgit to git in Vcs-Browser field.
 +  * debian/watch:
 +      - Bumped to version 4.
 +      - Leaving only a repository to avoid conflicting on uscan system.
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Wed, 23 Mar 2016 23:34:15 -0300
 +
 +hashrat (1.6.1-4) unstable; urgency=medium
 +
 +  * New co-maintainer. Thanks a lot to Eriberto Mota, the initial
 +    maintainer of this package.
 +  * debian/control:
 +      - Bumped Standards-Version to 3.9.7.
 +      - Fixed a word in long description.
 +      - Updated Vcs-* fields.
 +  * debian/copyright: added my name at debian/* block.
 +
 + -- Giovani Augusto Ferreira <giovani at riseup.net>  Sat, 20 Feb 2016 23:55:35 -0300
 +
 +hashrat (1.6.1-3) unstable; urgency=medium
 +
 +  * debian/patches/fix-spelling-manpage: added to fix some issues in manpage.
 +
 + -- Joao Eriberto Mota Filho <eriberto at debian.org>  Sun, 13 Sep 2015 19:14:42 -0300
 +
 +hashrat (1.6.1-2) unstable; urgency=medium
 +
 +  * debian/rules: disabled the tests (temporarily) to avoid FTBFS in some
 +      architectures.
 +
 + -- Joao Eriberto Mota Filho <eriberto at debian.org>  Mon, 03 Aug 2015 11:24:46 -0300
 +
 +hashrat (1.6.1-1) unstable; urgency=medium
 +
 +  * New upstream release.
 +  * debian/clean: removed.
 +  * debian/copyright:
 +      - Updated the Source field in header.
 +      - Updated all information about libUseful-2.1 directory (previously
 +        called libUseful-2.0).
 +  * debian/docs: created to install the README file.
 +  * debian/manpages: removed. The upstream is using the manpage created for
 +      Debian. Thanks!
 +  * debian/patches/:
 +      - fix-help: updated.
 +      - fix-manpage-path: created to install the upstream manpage in right
 +        place.
 +  * debian/source.lintian-overrides: removed. The upstream fixed the source
 +      code. Thanks.
 +  * debian/rules: re-enabled the autotests (removed the override_dh_auto_test
 +      target). The upstream fixed the code. Thanks.
 +
 + -- Joao Eriberto Mota Filho <eriberto at debian.org>  Thu, 23 Jul 2015 22:03:16 -0300
 +
 +hashrat (1.5-2) unstable; urgency=medium
 +
 +  * Upload to unstable.
 +  * debian/copyright: dropping dot-zero from GPL license short name.
 +
 + -- Joao Eriberto Mota Filho <eriberto at debian.org>  Wed, 22 Jul 2015 13:51:05 -0300
 +
 +hashrat (1.5-1) experimental; urgency=low
 +
 +  * Initial release. (Closes: #776499)
 +
 + -- Joao Eriberto Mota Filho <eriberto at debian.org>  Wed, 28 Jan 2015 10:32:25 -0200
diff --cc debian/copyright
index be9f810,0000000..94858d5
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,117 -1,0 +1,117 @@@
 +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 +Upstream-Name: hashrat
 +Source: http://www.cjpaget.co.uk/Code/Hashrat or
 +        https://github.com/ColumPaget/Hashrat/releases
 +
 +Files: *
 +Copyright: 2014-2015 Colum Paget <colums.projects at gmail.com>
 +License: GPL-3
 +
 +
- Files: install-sh libUseful-2.1/install-sh
++Files: install-sh libUseful-2.5/install-sh
 +Copyright: 1991 Massachusetts Institute of Technology
 +License: MIT
 +
 +
- Files: libUseful-2.1/crc32.*
++Files: libUseful-2.5/crc32.*
 +Copyright: 2003 Dominik Reichl <dominik.reichl at t-online.de>
 +License: GPL-2
 +
 +
- Files: libUseful-2.1/md5.*
++Files: libUseful-2.5/md5.*
 +Copyright: 1993 Colin Plumb
 +License: public-domain
 +
 +
- Files: libUseful-2.1/sha1.*
++Files: libUseful-2.5/sha1.*
 +Copyright: 2000-2011 Free Software Foundation, Inc.
 +License: GPL-2+
 +
 +
- Files: libUseful-2.1/sha2.*
++Files: libUseful-2.5/sha2.*
 +Copyright: 2000-2001 Aaron D. Gifford
 +License: BSD-3-Clause
 +
 +
 +Files: debian/*
 +Copyright: 2014-2015 Joao Eriberto Mota Filho <eriberto at debian.org>
 +           2016      Giovani Augusto Ferreira <giovani at riseup.net>
 +License: GPL-3+
 +
 +
 +License: GPL-3 or GPL-3+
 + 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 3 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 program. If not, see <http://www.gnu.org/licenses/>.
 + .
 + On Debian systems, the complete text of the GNU General
 + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
 +
 +
 +License: MIT
 + Permission to use, copy, modify, distribute, and sell this software and its
 + documentation for any purpose is hereby granted without fee, provided that
 + the above copyright notice appear in all copies and that both that
 + copyright notice and this permission notice appear in supporting
 + documentation, and that the name of M.I.T. not be used in advertising or
 + publicity pertaining to distribution of the software without specific,
 + written prior permission.  M.I.T. makes no representations about the
 + suitability of this software for any purpose.  It is provided "as is"
 + without express or implied warranty.
 +
 +
 +License: public-domain
 + This code is in the public domain; do with it what you wish.
 +
 +
 +License: GPL-2 or GPL-2+
 + This package 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 program. If not, see <http://www.gnu.org/licenses/>
 + .
 + On Debian systems, the complete text of the GNU General
 + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
 +
 +
 +License: BSD-3-Clause
 + 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. Neither the name of the copyright holder nor the names of contributors
 +    may be used to endorse or promote products derived from this software
 +    without specific prior written permission.
 + .
 + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``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 CONTRIBUTOR(S) 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.
diff --cc debian/patches/fix-spelling.patch
index 079cce6,0000000..4b2f99a
mode 100644,000000..100644
--- a/debian/patches/fix-spelling.patch
+++ b/debian/patches/fix-spelling.patch
@@@ -1,65 -1,0 +1,120 @@@
- Description: fix wrong information or typos in the help and README file
++Description: fix some spelling errors in manpage and source code.
 +Author: Joao Eriberto Mota Filho <eriberto at debian.org>
- Last-Update: 2015-07-24
- Index: hashrat-1.8.1/README
++Reviewed-by: Giovani Augusto Ferreira <giovani at riseup.net>
++Last-Update: 2016-09-25
++Index: hashrat-1.8.3+dfsg/hashrat.1
 +===================================================================
- --- hashrat-1.8.1.orig/README
- +++ hashrat-1.8.1/README
- @@ -101,7 +101,7 @@ Options:
++--- hashrat-1.8.3+dfsg.orig/hashrat.1
+++++ hashrat-1.8.3+dfsg/hashrat.1
++@@ -221,11 +221,11 @@ DevMode: read from a \fIfile\fP EVEN OF
++ .TP
++ .B
++ \fB-lines\fP
++-Read lines from stdin and \fIhash\fP each line independantly.
+++Read lines from stdin and \fIhash\fP each line independently.
++ .TP
++ .B
++ \fB-rl\fP, \fB-rawlines\fP
++-Read lines from stdin and \fIhash\fP each line independantly, INCLUDING any trailing whitespace. This is compatible with 'echo text | md5sum'.
+++Read lines from stdin and \fIhash\fP each line independently, INCLUDING any trailing whitespace. This is compatible with 'echo text | md5sum'.
++ .TP
++ .B
++ \fB-cgi\fP
++@@ -425,7 +425,7 @@ you use the 'echo' method shown above yo
++ This reads lines from stdin, so type into \fBhashrat\fP and then press ENTER, and you'll be given the \fIhash\fP \fIof\fP the line you typed. By this method your password is neither
++ visible in 'ps ax', nor is ever stored on disk.
++ .PP
++-A \fB-lines\fP will produce a different \fIhash\fP \fIto\fP the 'echo' method listed above, because it strips any trailing whiespace off the lines read. If you want strict compatiblity
+++A \fB-lines\fP will produce a different \fIhash\fP \fIto\fP the 'echo' method listed above, because it strips any trailing whiespace off the lines read. If you want strict compatibility
++ with 'echo' (by default echo adds a newline \fIto\fP the end \fIof\fP the text \fIto\fP output) then use rawlines mode:
++ .PP
++ .nf
++@@ -527,7 +527,7 @@ Using the \fB-dups\fP flag (usually in c
++ CGI Mode
++ .PP
++ If \fBhashrat\fP is run with the \fB-cgi\fP flag, or if it's run with a name \fIof\fP hashrat.cgi (either by renaming the \fBhashrat\fP executable, or via a symbolic link) it will output a
++-webpage that allows users \fIto\fP look up \fIhashes\fP over the web. This allows \fIto\fP look-up your strong passwords even if youI don't have access \fIto\fP a local version \fIof\fP \fBhashrat\fP.
+++webpage that allows users \fIto\fP look up \fIhashes\fP over the web. This allows \fIto\fP look-up your strong passwords even if you don't have access \fIto\fP a local version \fIof\fP \fBhashrat\fP.
++ .SH EXTENDED FILESYSTEM ATTRIBUTES
++ 
++ Hashrat can use extended filesystem attributes where these are supported. This allows a \fIhash\fP \fIto\fP be stored in the filesystem metadata \fIof\fP the target \fIfile\fP. This can
++@@ -550,7 +550,7 @@ And using the \fB-txattr\fP flag \fIto\f
++ 
++ .fam T
++ .fi
++-When checking either flag can be used, but \fBhashrat\fP will always use trusted attributes when running as root, if those are avaialable, otherwise it will fall
+++When checking either flag can be used, but \fBhashrat\fP will always use trusted attributes when running as root, if those are available, otherwise it will fall
++ back \fIto\fP user attributes.
++ .PP
++ .nf
++Index: hashrat-1.8.3+dfsg/command-line-args.c
++===================================================================
++--- hashrat-1.8.3+dfsg.orig/command-line-args.c
+++++ hashrat-1.8.3+dfsg/command-line-args.c
++@@ -548,13 +548,13 @@ printf("  %-15s %s\n","-fs", "Stay on on
++ printf("  %-15s %s\n","-dir", "DirMode: Read all files in directory and create one hash for them!");
++ printf("  %-15s %s\n","-dirmode", "DirMode: Read all files in directory and create one hash for them!");
++ printf("  %-15s %s\n","-devmode", "DevMode: read from a file EVEN OF IT'S A DEVNODE");
++-printf("  %-15s %s\n","-lines", "Read lines from stdin and hash each line independantly.");
++-printf("  %-15s %s\n","-rawlines", "Read lines from stdin and hash each line independantly, INCLUDING any trailing whitespace. (This is compatible with 'echo text | md5sum')");
++-printf("  %-15s %s\n","-rl", "Read lines from stdin and hash each line independantly, INCLUDING any trailing whitespace. (This is compatible with 'echo text | md5sum')");
+++printf("  %-15s %s\n","-lines", "Read lines from stdin and hash each line independently.");
+++printf("  %-15s %s\n","-rawlines", "Read lines from stdin and hash each line independently, INCLUDING any trailing whitespace. (This is compatible with 'echo text | md5sum')");
+++printf("  %-15s %s\n","-rl", "Read lines from stdin and hash each line independently, INCLUDING any trailing whitespace. (This is compatible with 'echo text | md5sum')");
++ printf("  %-15s %s\n","-cgi", "Run in HTTP CGI mode");
++ printf("  %-15s %s\n","-net", "Treat 'file' arguments as either ssh or http URLs, and pull files over the network and then hash them (Allows hashing of files on remote machines).");
++ printf("  %-15s %s\n","", "URLs are in the format ssh://[username]:[password]@[host]:[port] or http://[username]:[password]@[host]:[port]..");
++-printf("  %-15s %s\n","-idfile <path>", "Path to an ssh private key file to use to authenticate INSTEAD OF A PASSWORD when pulling files via ssh.");
+++printf("  %-15s %s\n","-idfile <path>", "Path to a ssh private key file to use to authenticate INSTEAD OF A PASSWORD when pulling files via ssh.");
++ printf("  %-15s %s\n","-xattr", "Use eXtended file ATTRibutes. In hash mode, store hashes in the file attributes, in check mode compare against hashes stored in file attributes.");
++ printf("  %-15s %s\n","-txattr", "Use TRUSTED eXtended file ATTRibutes. In hash mode, store hashes in 'trusted' file attributes. 'trusted' attributes can only be read and written by root. Under freebsd this menas SYSTEM attributes.");
++ printf("  %-15s %s\n","-attrs", "comma-separated list of filesystem attribute names to be set to the value of the hash.");
++Index: hashrat-1.8.3+dfsg/README
++===================================================================
++--- hashrat-1.8.3+dfsg.orig/README
+++++ hashrat-1.8.3+dfsg/README
++@@ -102,7 +102,7 @@ Options:
 +   -cgi            Run in HTTP CGI mode
 +   -net            Treat 'file' arguments as either ssh or http URLs, and pull files over the network and then hash them (Allows hashing of files on remote machines).
 +                   URLs are in the format ssh://[username]:[password]@[host]:[port] or http://[username]:[password]@[host]:[port]..
 +-  -idfile <path>  Path to an ssh private key file to use to authenticate INSTEAD OF A PASSWORD when pulling files via ssh.
 ++  -idfile <path>  Path to a ssh private key file to use to authenticate INSTEAD OF A PASSWORD when pulling files via ssh.
 +   -xattr          Use eXtended file ATTRibutes. In hash mode, store hashes in the file attributes, in check mode compare against hashes stored in file attributes.
 +   -txattr         Use TRUSTED eXtended file ATTRibutes. In hash mode, store hashes in 'trusted' file attributes. 'trusted' attributes can only be read and written by root.
 +   -attrs          comma-separated list of filesystem attribute names to be set to the value of the hash.
- @@ -131,7 +131,7 @@ USE EXAMPLES:
++@@ -132,7 +132,7 @@ USE EXAMPLES:
 + 
 + 	hashrat
 + 
 +-		Generate an md5 hash of data read from stdin  (default hash type is md5).
 ++		Generate a md5 hash of data read from stdin  (default hash type is md5).
 + 
 + 	hashrat -jh256
 + 
- @@ -139,7 +139,7 @@ USE EXAMPLES:
++@@ -140,7 +140,7 @@ USE EXAMPLES:
 + 		
 + 	hashrat -sha256 -64
 + 
 +-		Generate an sha-256 hash of data read from stdin, output with base64 encoding.
 ++		Generate a sha-256 hash of data read from stdin, output with base64 encoding.
 + 
 + 	hashrat -sha256 -64 -lines
 + 
- @@ -147,7 +147,7 @@ USE EXAMPLES:
++@@ -148,7 +148,7 @@ USE EXAMPLES:
 + 
 + 	hashrat -md5 -trad -rawlines
 + 
 +-		Read lines from stdin, and generate an md5 hash in 'traditional' format for every line INCLUDING TRAILING WHITESPACE. This is compatible with 'echo text | md5sum' where 'text' is one line, as 'echo' adds a newline to the end of the text it outputs.
 ++		Read lines from stdin, and generate a md5 hash in 'traditional' format for every line INCLUDING TRAILING WHITESPACE. This is compatible with 'echo text | md5sum' where 'text' is one line, as 'echo' adds a newline to the end of the text it outputs.
 + 
-  	hashrat *
++ 	hashrat -type sha256,whirl,md5
 + 
- @@ -210,7 +210,7 @@ USES FOR HASHRAT
++@@ -215,7 +215,7 @@ USES FOR HASHRAT
 + 
 + 		echo "facebook.com password 1234" | hashrat -sha1 -64
 + 
 +-	Obviously, my password isn't 'password' and my pin isn't '1234', but you get the idea. This gives me a 28-character string that should take "8.02 trillion trillion centuries" to crack with a "massive cracking array" according to Steve Gibson's 'Password haystacks' utility, https://www.grc.com/haystack.htm. This is what I then use as my password. Unfortunately some websites won't take a 28-character password, and for these I have to truncate to the appropriate length (using the -n flag [...]
 ++	Obviously, my password isn't 'password' and my pin isn't '1234', but you get the idea. This gives me a 28-character string that should take "8.02 trillion centuries" to crack with a "massive cracking array" according to Steve Gibson's 'Password haystacks' utility, https://www.grc.com/haystack.htm. This is what I then use as my password. Unfortunately some websites won't take a 28-character password, and for these I have to truncate to the appropriate length (using the -n flag), but th [...]
 + 
 + 	There are some dangers to using the 'echo' method shown above if you are on a shared machine, or if someone gets hold of your computer/harddrive. On a shared machine someone could type 'ps ax' to see all commands running, and if they time it right, they might see your command-line with your password in it. Another danger lies in using a shell (like bash) that will record your typed commands so you can recall them later. Bash stores this information on disk in the file .bash_history, s [...]
 + 
- Index: hashrat-1.8.1/command-line-args.c
- ===================================================================
- --- hashrat-1.8.1.orig/command-line-args.c
- +++ hashrat-1.8.1/command-line-args.c
- @@ -542,7 +542,7 @@ printf("  %-15s %s\n","-rl", "Read lines
-  printf("  %-15s %s\n","-cgi", "Run in HTTP CGI mode");
-  printf("  %-15s %s\n","-net", "Treat 'file' arguments as either ssh or http URLs, and pull files over the network and then hash them (Allows hashing of files on remote machines).");
-  printf("  %-15s %s\n","", "URLs are in the format ssh://[username]:[password]@[host]:[port] or http://[username]:[password]@[host]:[port]..");
- -printf("  %-15s %s\n","-idfile <path>", "Path to an ssh private key file to use to authenticate INSTEAD OF A PASSWORD when pulling files via ssh.");
- +printf("  %-15s %s\n","-idfile <path>", "Path to a ssh private key file to use to authenticate INSTEAD OF A PASSWORD when pulling files via ssh.");
-  printf("  %-15s %s\n","-xattr", "Use eXtended file ATTRibutes. In hash mode, store hashes in the file attributes, in check mode compare against hashes stored in file attributes.");
-  printf("  %-15s %s\n","-txattr", "Use TRUSTED eXtended file ATTRibutes. In hash mode, store hashes in 'trusted' file attributes. 'trusted' attributes can only be read and written by root. Under freebsd this menas SYSTEM attributes.");
-  printf("  %-15s %s\n","-attrs", "comma-separated list of filesystem attribute names to be set to the value of the hash.");
diff --cc debian/patches/series
index b802788,0000000..213d22d
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,3 -1,0 +1,1 @@@
- fix-help
- fix-manpage-path
- fix-spelling-manpage
++fix-spelling.patch
diff --cc debian/watch
index 83c7682,0000000..ac5d3e5
mode 100644,000000..100644
--- a/debian/watch
+++ b/debian/watch
@@@ -1,2 -1,0 +1,3 @@@
 +version=4
++opts=dversionmangle=s/\+dfsg// \
 +https://github.com/ColumPaget/Hashrat/releases .*/archive/v?(\d\S+)\.tar\.(?:bz2|gz|xz)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/hashrat.git



More information about the forensics-changes mailing list