pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

hashcat: updated to 6.1.1



Module Name:	pkgsrc-wip
Committed By:	Adam Ciarciński <aciarcinski%teonite.com@localhost>
Pushed By:	adam
Date:		Thu Jul 30 09:24:25 2020 +0200
Changeset:	76128aba97f44440963baba4777dd3876813c3ab

Modified Files:
	hashcat/Makefile
	hashcat/PLIST
	hashcat/distinfo
	hashcat/patches/patch-src_Makefile
Removed Files:
	hashcat/patches/patch-include_ext__lzma.h

Log Message:
hashcat: updated to 6.1.1

v6.1.1:
This release is fixing a small bug and a GLIBC related problem in binary 6.1.0 package.

v6.1.0:

This release is mostly about expanding support for new algorithms and fixing bugs:
Added hash-mode: Apple Keychain
Added hash-mode: XMPP SCRAM

Changelog fixed Bugs:

Fixed integer overflow for large masks in -a 6 attack mode
Fixed alias detection with additional processor core count check
Fixed maximum password length in modules of hash-modes 600, 7800, 7801 and 9900
Fixed non-zero status code when using --stdout
Fixed uninitialized value in bitsliced DES kernel (BF mode only) leading to false negatives

Changelog Improvements:

Compile ZLIB: Fixed makefile include paths in case USE_SYSTEM_ZLIB is used
Compile macOS: Fixed makefile target 'clean' to correctly remove *.dSYM folders
OpenCL Kernels: Added datatypes to literals of enum costants
OpenCL Kernels: Added pure kernels for hash-mode 600 (BLAKE2b-512)
OpenCL Runtime: Reinterpret return code CL_DEVICE_NOT_FOUND from clGetDeviceIDs() as non-fatal
OpenCL Runtime: Add some unstable warnings for some SHA512 based algorithms on AMD GPU on macOS

Changelog Technical:

Backend: Changed the maximum number of compute devices from 64 to 128
Tests: Improved tests for hash-mode 11300 (Bitcoin/Litecoin wallet.dat)
Tests: Improved tests for hash-mode 13200 (AxCrypt)
Tests: Improved tests for hash-mode 13600 (WinZip)
Tests: Improved tests for hash-mode 16400 (CRAM-MD5 Dovecot)
Tests: Improved tests for hash-mode 16800 (WPA-PMKID-PBKDF2)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=76128aba97f44440963baba4777dd3876813c3ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 hashcat/Makefile                          |  5 +++-
 hashcat/PLIST                             | 49 ++++++++++++++++++-------------
 hashcat/distinfo                          | 11 ++++---
 hashcat/patches/patch-include_ext__lzma.h | 17 -----------
 hashcat/patches/patch-src_Makefile        | 33 ++-------------------
 5 files changed, 40 insertions(+), 75 deletions(-)

diffs:
diff --git a/hashcat/Makefile b/hashcat/Makefile
index dcb459bb00..35c7a92a90 100644
--- a/hashcat/Makefile
+++ b/hashcat/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	hashcat-6.0.0
+DISTNAME=	hashcat-6.1.1
 CATEGORIES=	security
 MASTER_SITES=	https://hashcat.net/files/
 
@@ -11,6 +11,9 @@ LICENSE=	mit
 
 USE_TOOLS+=	gmake gsed
 BUILD_TARGET=	hashcat
+MAKE_ENV+=	SHARED=1
+MAKE_ENV+=	USE_SYSTEM_ZLIB=1
+MAKE_ENV+=	USE_SYSTEM_XXHASH=1
 
 post-install:
 	${RM} -f ${DESTDIR}${PREFIX}/include/hashcat/ext_lzma.h.orig
diff --git a/hashcat/PLIST b/hashcat/PLIST
index 82fd5a610c..4d533135af 100644
--- a/hashcat/PLIST
+++ b/hashcat/PLIST
@@ -75,26 +75,26 @@ include/hashcat/usage.h
 include/hashcat/user_options.h
 include/hashcat/wordlist.h
 lib/libhashcat.so
-lib/libhashcat.so.6.0.0
-share/doc/hashcat/charsets/DES_full.charset
-share/doc/hashcat/charsets/DES_special/DES_alpha.charset
-share/doc/hashcat/charsets/DES_special/DES_numeral.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_0.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_1.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_2.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_3.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_4.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_5.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_6.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_7.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_8.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_9.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_A.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_B.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_C.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_D.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_E.charset
-share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_F.charset
+lib/libhashcat.so.${PKGVERSION}
+share/doc/hashcat/charsets/DES_full.hcchr
+share/doc/hashcat/charsets/DES_special/DES_alpha.hcchr
+share/doc/hashcat/charsets/DES_special/DES_numeral.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_0.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_1.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_2.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_3.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_4.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_5.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_6.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_7.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_8.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_9.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_A.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_B.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_C.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_D.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_E.hcchr
+share/doc/hashcat/charsets/DES_special/multiple_nodes/DES_portion_F.hcchr
 share/doc/hashcat/charsets/combined/Bulgarian.hcchr
 share/doc/hashcat/charsets/combined/Castilian.hcchr
 share/doc/hashcat/charsets/combined/Catalan.hcchr
@@ -345,6 +345,8 @@ share/hashcat/OpenCL/inc_diskcryptor_xts.cl
 share/hashcat/OpenCL/inc_diskcryptor_xts.h
 share/hashcat/OpenCL/inc_ecc_secp256k1.cl
 share/hashcat/OpenCL/inc_ecc_secp256k1.h
+share/hashcat/OpenCL/inc_hash_blake2b.cl
+share/hashcat/OpenCL/inc_hash_blake2b.h
 share/hashcat/OpenCL/inc_hash_md4.cl
 share/hashcat/OpenCL/inc_hash_md4.h
 share/hashcat/OpenCL/inc_hash_md5.cl
@@ -498,8 +500,11 @@ share/hashcat/OpenCL/m00400-pure.cl
 share/hashcat/OpenCL/m00500-optimized.cl
 share/hashcat/OpenCL/m00500-pure.cl
 share/hashcat/OpenCL/m00600_a0-optimized.cl
+share/hashcat/OpenCL/m00600_a0-pure.cl
 share/hashcat/OpenCL/m00600_a1-optimized.cl
+share/hashcat/OpenCL/m00600_a1-pure.cl
 share/hashcat/OpenCL/m00600_a3-optimized.cl
+share/hashcat/OpenCL/m00600_a3-pure.cl
 share/hashcat/OpenCL/m00900_a0-optimized.cl
 share/hashcat/OpenCL/m00900_a0-pure.cl
 share/hashcat/OpenCL/m00900_a1-optimized.cl
@@ -1289,6 +1294,8 @@ share/hashcat/OpenCL/m23003_a1-optimized.cl
 share/hashcat/OpenCL/m23003_a1-pure.cl
 share/hashcat/OpenCL/m23003_a3-optimized.cl
 share/hashcat/OpenCL/m23003_a3-pure.cl
+share/hashcat/OpenCL/m23100-pure.cl
+share/hashcat/OpenCL/m23200-pure.cl
 share/hashcat/OpenCL/markov_be.cl
 share/hashcat/OpenCL/markov_le.cl
 share/hashcat/OpenCL/shared.cl
@@ -1615,4 +1622,6 @@ share/hashcat/modules/module_22700.so
 share/hashcat/modules/module_23001.so
 share/hashcat/modules/module_23002.so
 share/hashcat/modules/module_23003.so
+share/hashcat/modules/module_23100.so
+share/hashcat/modules/module_23200.so
 share/hashcat/modules/module_99999.so
diff --git a/hashcat/distinfo b/hashcat/distinfo
index d9573de877..eb5b2bf352 100644
--- a/hashcat/distinfo
+++ b/hashcat/distinfo
@@ -1,8 +1,7 @@
 $NetBSD$
 
-SHA1 (hashcat-6.0.0.tar.gz) = 62f0fb50166ffd70efbc5850521ac67821126f4b
-RMD160 (hashcat-6.0.0.tar.gz) = d71c6a710cf0513666edc79635e2c8aeba338f5d
-SHA512 (hashcat-6.0.0.tar.gz) = b508c77e1735c02bb59c427774a3f4fafdea37d09777ef2dcb6e5081cb993d02c4f46a6ab846dc97a8cef2b0f69bbc191e26b8f1608a299bc2c1a6b3d2474f96
-Size (hashcat-6.0.0.tar.gz) = 5360568 bytes
-SHA1 (patch-include_ext__lzma.h) = 8dcf9cae764b306e833702c276b13a80fd71c3f4
-SHA1 (patch-src_Makefile) = cef5b5bd6ef668e690a5c17f8a92710ee1f428ed
+SHA1 (hashcat-6.1.1.tar.gz) = 01237c9455ce5685c7a2394163daa94166dc6d38
+RMD160 (hashcat-6.1.1.tar.gz) = ded2fc1bdbf71836f260df35a909fdc660b780f6
+SHA512 (hashcat-6.1.1.tar.gz) = 788539b488ba55684d6d93ce18f3b05fa822a8cbfcdbcde9c2b54001d8927580dca253e0e9ff9a19f4278045046d732e104054fc743c39f47952ca24d2e93724
+Size (hashcat-6.1.1.tar.gz) = 5385180 bytes
+SHA1 (patch-src_Makefile) = f47e897ab2beb63aa381f1ac381ac51e7879a999
diff --git a/hashcat/patches/patch-include_ext__lzma.h b/hashcat/patches/patch-include_ext__lzma.h
deleted file mode 100644
index 4f56cc2b37..0000000000
--- a/hashcat/patches/patch-include_ext__lzma.h
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-Match archivers/minizip.
-
---- include/ext_lzma.h.orig	2020-06-16 15:30:11.000000000 +0000
-+++ include/ext_lzma.h
-@@ -8,8 +8,8 @@
- #include <LzmaDec.h>
- #include <Lzma2Dec.h>
- 
--#include "contrib/minizip/ioapi.h"
--#include "contrib/minizip/unzip.h"
-+#include <minizip/ioapi.h>
-+#include <minizip/unzip.h>
- 
- int hc_lzma1_decompress (const unsigned char *in, SizeT *in_len, unsigned char *out, SizeT *out_len, const char *props);
- int hc_lzma2_decompress (const unsigned char *in, SizeT *in_len, unsigned char *out, SizeT *out_len, const char *props);
diff --git a/hashcat/patches/patch-src_Makefile b/hashcat/patches/patch-src_Makefile
index ba83db5f30..be9cc39f19 100644
--- a/hashcat/patches/patch-src_Makefile
+++ b/hashcat/patches/patch-src_Makefile
@@ -5,28 +5,8 @@ Add minimal NetBSD support.
 Don't override CC nor optimisation flags in CFLAGS.
 Remove sed magic; we'll use nbsed.
 
---- src/Makefile.orig	2020-06-16 15:30:11.000000000 +0000
+--- src/Makefile.orig	2020-07-29 10:16:53.000000000 +0000
 +++ src/Makefile
-@@ -3,16 +3,16 @@
- ## License.....: MIT
- ##
- 
--SHARED                  := 0
-+SHARED                  := 1
- DEBUG                   := 0
- PRODUCTION              := 1
- PRODUCTION_VERSION      := v6.0.0
- ENABLE_CUBIN            := 1
- ENABLE_BRAIN            := 1
- USE_SYSTEM_LZMA         := 0
--USE_SYSTEM_ZLIB         := 0
-+USE_SYSTEM_ZLIB         := 1
- USE_SYSTEM_OPENCL       := 0
--USE_SYSTEM_XXHASH       := 0
-+USE_SYSTEM_XXHASH       := 1
- 
- ##
- ## Detect Operating System
 @@ -28,7 +28,7 @@ UNAME                   := $(patsubst MS
  UNAME                   := $(patsubst MINGW32_NT-%,MSYS2,$(UNAME))
  UNAME                   := $(patsubst MINGW64_NT-%,MSYS2,$(UNAME))
@@ -71,15 +51,6 @@ Remove sed magic; we'll use nbsed.
  ifneq ($(UNAME),Darwin)
  LFLAGS                  += -s
  endif
-@@ -220,7 +211,7 @@ endif
- # ZLIB
- CFLAGS                  += -I$(DEPS_ZLIB_PATH)
- ifeq ($(USE_SYSTEM_ZLIB),1)
--LFLAGS                  += -lz
-+LFLAGS                  += -lz -lminizip
- endif
- 
- # OpenCL
 @@ -264,6 +255,13 @@ LFLAGS_NATIVE           += -liconv
  endif
  endif # FreeBSD
@@ -94,7 +65,7 @@ Remove sed magic; we'll use nbsed.
  ifeq ($(UNAME),Darwin)
  export MACOSX_DEPLOYMENT_TARGET=10.9
  CFLAGS_NATIVE           := $(CFLAGS)
-@@ -534,8 +532,13 @@ MODULES_SRC   := $(wildcard src/modules/
+@@ -540,8 +538,13 @@ MODULES_SRC   := $(wildcard src/modules/
  MODULES_LIB   := $(patsubst src/modules/module_%.c, modules/module_%.$(MODULE_SUFFIX), $(MODULES_SRC))
  
  ifeq ($(SHARED),1)


Home | Main Index | Thread Index | Old Index