[Forensics-changes] [hashrat] 02/02: Imported Debian patch 1.8.1-1

Giovani Augusto Ferreira giovani-guest at moszumanska.debian.org
Tue Jul 26 04:21:43 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 73004f968859520acff95863116c4bef978b700b
Merge: 20071b4 2f4cc0c
Author: Giovani Augusto Ferreira <giovani at riseup.net>
Date:   Sat Jul 23 23:42:11 2016 -0300

    Imported Debian patch 1.8.1-1

 Makefile.in                         |  24 ++--
 check-hash.c                        |   2 +-
 check.sh                            |  10 +-
 command-line-args.c                 |  56 +++++----
 common.c                            |  56 +++++----
 common.h                            |  13 +-
 configure                           | 236 ++++++++++++++++++++++++++++++++----
 configure.ac                        |  26 ++--
 debian/changelog                    |  13 ++
 debian/control                      |   2 +-
 debian/patches/fix-help             |  26 ++--
 debian/patches/fix-spelling-manpage |  14 +--
 files.c                             |  40 +++---
 filesigning.c                       |   4 +-
 find.c                              |  76 +++++++-----
 fingerprint.c                       |   2 +-
 hashrat.1                           |   6 +-
 libUseful-2.1/ConnectManager.c      |   2 +-
 libUseful-2.1/ConnectionChain.c     |   2 +-
 libUseful-2.1/Hash.c                |   2 +-
 libUseful-2.1/Log.c                 |  10 +-
 libUseful-2.1/buckets.c             |   2 +-
 libUseful-2.1/file.c                |  46 +++----
 libUseful-2.1/file.h                |  30 ++---
 libUseful-2.1/openssl.c             |   4 +-
 libUseful-2.1/pty.c                 |  41 ++++++-
 libUseful-2.1/socket.c              |  54 +--------
 libUseful-2.1/socket.h              |   7 +-
 libUseful-2.1/sound.c               |   2 +-
 libUseful-2.1/string.c              |  25 +++-
 libUseful-2.1/tar.c                 |   8 +-
 libUseful-2.1/unix_socket.c         |  81 ++++++++++++-
 libUseful-2.1/unix_socket.h         |   3 +-
 main.c                              |  25 +++-
 xattr.c                             |  45 +++++--
 35 files changed, 694 insertions(+), 301 deletions(-)

diff --cc debian/changelog
index c6dde19,0000000..b410293
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,70 -1,0 +1,83 @@@
++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/control
index 8ae924e,0000000..1ed134c
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,29 -1,0 +1,29 @@@
 +Source: hashrat
 +Section: utils
 +Priority: optional
 +Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
 +Uploaders: Giovani Augusto Ferreira <giovani at riseup.net>
 +Build-Depends: debhelper (>= 9), dh-autoreconf
- Standards-Version: 3.9.7
++Standards-Version: 3.9.8
 +Homepage: http://www.cjpaget.co.uk/Code/Hashrat
 +Vcs-Git: https://anonscm.debian.org/git/forensics/hashrat.git
 +Vcs-Browser: https://anonscm.debian.org/git/forensics/hashrat.git
 +
 +Package: hashrat
 +Architecture: any
 +Depends: ${shlibs:Depends}, ${misc:Depends}
 +Description: hashing tool supporting several hashes and recursivity
 + Hashrat is a hash-generation utility that supports the md5, sha1, sha256,
 + sha512, whirlpool, jh-244, jh256, jh-384 and jh-512 hash functions, and
 + also the HMAC versions of those functions. It can output in 'traditional'
 + format (same as md5sum and shasum and the like), or it's own format.
 + .
 + Hashes can be output in octal, decimal, hexadecimal, uppercase hexadecimal
 + or base64.
 + .
 + Hashrat also supports directory recursion, hashing entire devices,
 + generating a hash for an entire directory, operations in remote machines
 + and several other features. It has a 'CGI' mode that can be used as a
 + web-page to lookup hashes.
 + .
 + This tool is useful in forensics investigations and network security.
diff --cc debian/patches/fix-help
index 8f659ba,0000000..079cce6
mode 100644,000000..100644
--- a/debian/patches/fix-help
+++ b/debian/patches/fix-help
@@@ -1,65 -1,0 +1,65 @@@
 +Description: fix wrong information or typos in the help and README file
 +Author: Joao Eriberto Mota Filho <eriberto at debian.org>
 +Last-Update: 2015-07-24
- Index: hashrat-1.6.1/README
++Index: hashrat-1.8.1/README
 +===================================================================
- --- hashrat-1.6.1.orig/README
- +++ hashrat-1.6.1/README
- @@ -99,7 +99,7 @@ Options:
++--- hashrat-1.8.1.orig/README
+++++ hashrat-1.8.1/README
++@@ -101,7 +101,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.
- @@ -129,7 +129,7 @@ USE EXAMPLES:
++@@ -131,7 +131,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
 + 
- @@ -137,7 +137,7 @@ USE EXAMPLES:
++@@ -139,7 +139,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
 + 
- @@ -145,7 +145,7 @@ USE EXAMPLES:
++@@ -147,7 +147,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 *
 + 
- @@ -208,7 +208,7 @@ USES FOR HASHRAT
++@@ -210,7 +210,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.6.1/command-line-args.c
++Index: hashrat-1.8.1/command-line-args.c
 +===================================================================
- --- hashrat-1.6.1.orig/command-line-args.c
- +++ hashrat-1.6.1/command-line-args.c
- @@ -513,7 +513,7 @@ printf("  %-15s %s\n","-rl", "Read lines
++--- 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.");
++ 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/fix-spelling-manpage
index e1225a6,0000000..e6128eb
mode 100644,000000..100644
--- a/debian/patches/fix-spelling-manpage
+++ b/debian/patches/fix-spelling-manpage
@@@ -1,43 -1,0 +1,43 @@@
 +Description: fix some spelling errors in manpage.
 +Author: Joao Eriberto Mota Filho <eriberto at debian.org>
 +Last-Update: 2015-09-13
- Index: hashrat-1.6.1/hashrat.1
++Index: hashrat-1.8.1/hashrat.1
 +===================================================================
- --- hashrat-1.6.1.orig/hashrat.1
- +++ hashrat-1.6.1/hashrat.1
- @@ -208,7 +208,7 @@ DevMode: read from a \fIfile\fP EVEN OF
++--- hashrat-1.8.1.orig/hashrat.1
+++++ hashrat-1.8.1/hashrat.1
++@@ -216,7 +216,7 @@ 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
- @@ -404,7 +404,7 @@ you use the 'echo' method shown above yo
++@@ -416,7 +416,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
- @@ -504,7 +504,7 @@ Using the \fB-dups\fP flag (usually in c
++@@ -518,7 +518,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
- @@ -527,7 +527,7 @@ And using the \fB-txattr\fP flag \fIto\f
++@@ -541,7 +541,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

-- 
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