Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| aac7932087 | |||
| 781aea02ee | |||
| 1e72946911 | |||
| d8eddad156 | |||
| 598af9af48 | |||
| 07650c48cc | |||
| 75b0ddee04 | |||
| daa1da5d1e |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b25e1077bcf34908cc8f18c1a69a2ec98b047b2cbcf0f51144dcf3ba1e0b7b2a
|
||||
size 14234640
|
||||
@@ -1,11 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCAAdFiEEpwgzIp0EC0GZzABSPBfai4oWVE8FAmMbOc8ACgkQPBfai4oW
|
||||
VE+OEQf/TTyRTApvJPWOtOj/Fq/xyxByi69/mxPlpy1HveArAE+tnGUl+6WSiFbQ
|
||||
ap230fGGUKX/K/kTk9Dic3hawUYwS1RTQ5lmq5lgETgMZ/Za2UWIU8rhMZbN1xat
|
||||
if6cOelNGRzE3IbHlOG1OkJ2nF8n1S8eifpWMd/BaJI5nDAYrZXKmFqPaIxhJiEW
|
||||
v4kOr9uUNOkyGwvKauheqm2IjPbz/mRLZq7gkuHcYWOS0+mw6hnOz3MuDB72WID7
|
||||
I4z/30vRFtU5Yt95LIEocGh+jb7c9v4VPiCvLAbJy9M/6XwWRWLfrn1q44l8kKAJ
|
||||
Ht4QPxZCvL3oS+J05vBYAVxpc8Jlsg==
|
||||
=PVZN
|
||||
-----END PGP SIGNATURE-----
|
||||
BIN
hashcat-7.1.2.tar.gz
LFS
Normal file
BIN
hashcat-7.1.2.tar.gz
LFS
Normal file
Binary file not shown.
11
hashcat-7.1.2.tar.gz.asc
Normal file
11
hashcat-7.1.2.tar.gz.asc
Normal file
@@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCgAdFiEEpwgzIp0EC0GZzABSPBfai4oWVE8FAmipgcIACgkQPBfai4oW
|
||||
VE/qYwf/U2UyuQFtP8YF0+MWA1xp5mTynurI+Ne80p1EHl4ONXN8faocXjqyLNy+
|
||||
4abTHXes06BamnKobe2jNJwLFVyRfsaS8+7wKJX0e2Ypm9JLSJuCiRFPODVShsNV
|
||||
p31WnfVvjRTr9cAoUqgsQ5fuR4nYHW5ZNhIKrhiLs/xW8q5MoKdRErHdOYiMxhQm
|
||||
LV/p2cT/2KX0GZvUayP6pyWBhG4WX30uT3yRR1sz9FREgPcToEmGZ27LlnymrigV
|
||||
6JDTY3hWVUMCE4GneJ89wKp3YLpIvRailVnR40MmvT4Seg/ZVGOrTXXvlTg7W3rf
|
||||
zmx//9MaoOCHu1q9F31v+gDDxWIw4Q==
|
||||
=Is2+
|
||||
-----END PGP SIGNATURE-----
|
||||
@@ -1,3 +1,74 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 24 12:58:25 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 7.1.2
|
||||
* New algorithms: AS/400 DES, AS/400 SHA1, Cisco-ISE SHA256,
|
||||
LUKS2-Argon2i KDF, KeePass KDBX v4, SAP CODVN H SHA512,
|
||||
sm3crypt, BLAKE2b-256, MD6, sha224
|
||||
- Edit system-libs.patch to make use of system-provided lzma-sdk
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 20 09:30:40 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Use BUILD_MODE=cross to not optimize for build machine CPU (boo#1248352)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 7 15:48:40 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Use %global instead of %define
|
||||
- Remove python3-devel from recommends
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 6 12:27:50 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Use %python3_fix_shebang to replace python path with the right
|
||||
one
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 5 11:14:01 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Add missing bin files to %files
|
||||
- Move bridges files to /usr/lib/hashcat/bridges and symlink
|
||||
the old location
|
||||
- Remove -j1 from make invocation
|
||||
- Fix rpmlint warnings
|
||||
- Bump provided bundled(lzma-sdk) to 24.07
|
||||
- Add python3-devel to BuildRequires to satisfy some modules
|
||||
build requirements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 5 00:23:16 UTC 2025 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||
|
||||
- Shorten %description
|
||||
- Add python3-devel to Recommends:
|
||||
- Update to release 7.0.0
|
||||
* Full release notes at
|
||||
/usr/share/doc/packages/hashcat/docs/releases_notes_v7.0.0.md
|
||||
* Assimilation Bridge: Integrate external resources like CPUs,
|
||||
FPGAs, embedded interpreters, and more into the cracking
|
||||
pipeline.
|
||||
* Python Bridge Plugin: Rapidly implement hash-matching logic in
|
||||
Python. No recompilation needed, supports multithreading and
|
||||
rule engine by default.
|
||||
* Virtual Backend Devices: Internally partitions physical GPUs
|
||||
into multiple logical devices for better bridge integration and
|
||||
async workloads.
|
||||
* Hash-Mode Autodetection: Omit the -m flag and let Hashcat
|
||||
detect the hash-mode, or use --identify to list possibilities.
|
||||
* 58 new application-specific hash types, including Argon2,
|
||||
MetaMask, Microsoft Online Account, SNMPv3, GPG, OpenSSH, and
|
||||
LUKS2
|
||||
* 17 new generic hash constructions used in real-world web apps
|
||||
and protocols
|
||||
* 11 new primitives added to the crypto library, improving reuse
|
||||
and plugin development
|
||||
* 20 new tools to extract hashes from popular sources, including
|
||||
APFS, Virtualbox, BitLocker, and various wallet formats
|
||||
* Complete refactor of the autotuning engine for better device
|
||||
utilization
|
||||
* Major rewrite of memory management to eliminate previous 4GB
|
||||
allocation caps and enable full memory usage across devices
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 6 18:12:31 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
73
hashcat.spec
73
hashcat.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package hashcat
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,9 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define lname libhashcat6_2_6
|
||||
%global lname libhashcat7_1_2
|
||||
|
||||
Name: hashcat
|
||||
Version: 6.2.6
|
||||
Version: 7.1.2
|
||||
Release: 0
|
||||
Summary: CPU-based password recovery utility
|
||||
License: GPL-2.0-or-later AND MIT
|
||||
@@ -30,31 +31,27 @@ Source2: https://hashcat.net/files/%name-%version.tar.gz.asc
|
||||
Source3: %name.keyring
|
||||
Source9: %name-rpmlintrc
|
||||
Patch1: system-libs.patch
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: xxhash-devel
|
||||
BuildRequires: pkgconfig(clzma)
|
||||
%if 0%{?suse_version} >= 1690
|
||||
BuildRequires: pkgconfig(lzma-sdk)
|
||||
%else
|
||||
%global sylzma USE_SYSTEM_LZMA=0
|
||||
Provides: bundled(lzma-sdk) = 24.09
|
||||
%endif
|
||||
BuildRequires: pkgconfig(minizip)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Provides: bundled(lzma-sdk) = 21.02
|
||||
ExclusiveArch: %ix86 x86_64
|
||||
|
||||
%description
|
||||
Hashcat is a password recovery utility, supporting seven
|
||||
unique modes of testing for over 100 optimized hashing algorithms.
|
||||
|
||||
GPU Driver requirements:
|
||||
|
||||
* AMD GPUs on Linux require "RadeonOpenCompute (ROCm)" Software
|
||||
Platform (3.1 or later)
|
||||
* AMD GPUs on Windows require "AMD Radeon Adrenalin 2020
|
||||
Edition" (20.2.2 or later)
|
||||
* Intel and AMD CPUs require "OpenCL Runtime for Intel Core and
|
||||
Intel Xeon Processors" (16.1.1 or later)
|
||||
* NVIDIA GPUs require "NVIDIA Driver" (440.64 or later) and
|
||||
"CUDA Toolkit" (9.0 or later)
|
||||
|
||||
%package -n %lname
|
||||
Summary: Implementation of the hashcat engine
|
||||
Group: System/Libraries
|
||||
@@ -79,21 +76,51 @@ This subpackage contains the header files.
|
||||
find . -name .lock -type f -delete
|
||||
|
||||
%build
|
||||
%global margs DOCUMENT_FOLDER="%_docdir/%name" our_CFLAGS="%optflags" LIBRARY_FOLDER="%_libdir"
|
||||
%make_build %margs -j1
|
||||
%global margs DOCUMENT_FOLDER="%_docdir/%name" our_CFLAGS="%optflags" LIBRARY_FOLDER="%_libdir" BUILD_MODE=cross %{?sylzma}
|
||||
%make_build %margs
|
||||
|
||||
%install
|
||||
%make_install %margs
|
||||
|
||||
b="%buildroot"
|
||||
ln -s libhashcat.so.%version "$b/%_libdir/libhashcat.so"
|
||||
# fix stupid placement of arch-dep files
|
||||
|
||||
# fix placement of arch-dep files
|
||||
mkdir "$b/%_libdir/%name"
|
||||
mv "$b/%_datadir/%name/modules" "$b/%_libdir/%name/"
|
||||
ln -s "%_libdir/%name/modules" "$b/%_datadir/%name/"
|
||||
mv "$b/%_datadir/%name/bridges" "$b/%_libdir/%name/"
|
||||
ln -s "%_libdir/%name/bridges" "$b/%_datadir/%name/"
|
||||
|
||||
# script-without-shebang: add shebang to python scripts
|
||||
for file in \
|
||||
/usr/bin/bitlocker2hashcat.py \
|
||||
/usr/bin/keybag2hashcat.py \
|
||||
/usr/bin/shiro1-to-hashcat.py \
|
||||
/usr/bin/veeamvbk2hashcat.py
|
||||
do
|
||||
sed -i '1i#!/usr/bin/python3' "$b$file"
|
||||
done
|
||||
|
||||
# env-script-interpreter: replace /usr/bin/env <interpreter> with <interpreter>
|
||||
# perl scripts
|
||||
find "$b/%_bindir" -type f -name '*.pl' -exec \
|
||||
sed -i '1s|^#!\s*/usr/bin/env\s\+\(.*\)$|#!/usr/bin/\1|' {} +
|
||||
# python scripts
|
||||
%python3_fix_shebang
|
||||
|
||||
# hidden-file-or-dir: remove .gitkeep files
|
||||
find "$b/%_libdir/%name" -type f -name .gitkeep -delete
|
||||
|
||||
# wrong-script-end-of-line-encoding /usr/bin/shiro1-to-hashcat.py
|
||||
dos2unix "$b/%_bindir/shiro1-to-hashcat.py"
|
||||
|
||||
# spurious-executable-perm: remove executable bit from non-executable files
|
||||
find "$b/%_docdir/%name" -type f -exec chmod -x {} \;
|
||||
|
||||
%fdupes %buildroot/%_prefix
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %lname
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
@@ -101,6 +128,10 @@ ln -s "%_libdir/%name/modules" "$b/%_datadir/%name/"
|
||||
%_docdir/%name/
|
||||
%_libdir/%name/
|
||||
%_datadir/%name/
|
||||
# conversion scripts
|
||||
%_bindir/*2hashcat.*
|
||||
%_bindir/radmin3_to_hashcat.pl
|
||||
%_bindir/shiro1-to-hashcat.py
|
||||
|
||||
%files -n %lname
|
||||
%_libdir/libhashcat.so.%version
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
---
|
||||
src/Makefile | 13 +++++++------
|
||||
1 file changed, 7 insertions(+), 6 deletions(-)
|
||||
src/Makefile | 17 +++++++++--------
|
||||
1 file changed, 9 insertions(+), 8 deletions(-)
|
||||
|
||||
Index: hashcat-6.2.6/src/Makefile
|
||||
Index: hashcat-7.1.2/src/Makefile
|
||||
===================================================================
|
||||
--- hashcat-6.2.6.orig/src/Makefile
|
||||
+++ hashcat-6.2.6/src/Makefile
|
||||
@@ -3,7 +3,7 @@
|
||||
--- hashcat-7.1.2.orig/src/Makefile
|
||||
+++ hashcat-7.1.2/src/Makefile
|
||||
@@ -3,17 +3,17 @@
|
||||
## License.....: MIT
|
||||
##
|
||||
|
||||
@@ -14,20 +14,21 @@ Index: hashcat-6.2.6/src/Makefile
|
||||
+SHARED ?= 1
|
||||
DEBUG := 0
|
||||
PRODUCTION := 1
|
||||
PRODUCTION_VERSION := v6.2.6
|
||||
@@ -11,9 +11,9 @@ ENABLE_CUBIN ?= 1
|
||||
PRODUCTION_VERSION := v7.1.2
|
||||
ENABLE_CUBIN ?= 1
|
||||
ENABLE_BRAIN ?= 1
|
||||
ENABLE_UNRAR ?= 1
|
||||
USE_SYSTEM_LZMA ?= 0
|
||||
-USE_SYSTEM_LZMA ?= 0
|
||||
-USE_SYSTEM_ZLIB ?= 0
|
||||
+USE_SYSTEM_LZMA ?= 1
|
||||
+USE_SYSTEM_ZLIB ?= 1
|
||||
USE_SYSTEM_OPENCL ?= 0
|
||||
-USE_SYSTEM_XXHASH ?= 0
|
||||
+USE_SYSTEM_XXHASH ?= 1
|
||||
## do not change, requires some hacks
|
||||
USE_SYSTEM_UNRAR ?= 0
|
||||
|
||||
@@ -102,7 +102,7 @@ VERSION_PURE := $(shell echo
|
||||
MAINTAINER_MODE ?= 0
|
||||
@@ -121,7 +121,7 @@ VERSION_PURE := $(shell echo
|
||||
##
|
||||
|
||||
DESTDIR ?=
|
||||
@@ -36,7 +37,16 @@ Index: hashcat-6.2.6/src/Makefile
|
||||
|
||||
INSTALL_FOLDER ?= $(PREFIX)/bin
|
||||
SHARED_ROOT_FOLDER ?= $(PREFIX)/share
|
||||
@@ -173,7 +173,7 @@ endif # MSYS2
|
||||
@@ -138,7 +138,7 @@ LIBRARY_DEV_FOLDER ?= $(LIBRARY_DEV
|
||||
ifeq ($(USE_SYSTEM_LZMA),0)
|
||||
DEPS_LZMA_PATH := deps/LZMA-SDK/C
|
||||
else
|
||||
-DEPS_LZMA_PATH := $(LIBRARY_DEV_ROOT_FOLDER)
|
||||
+DEPS_LZMA_PATH := /usr/include/lzma-sdk
|
||||
endif
|
||||
|
||||
ifeq ($(USE_SYSTEM_ZLIB),0)
|
||||
@@ -194,7 +194,7 @@ endif # MSYS2
|
||||
## Misc stuff
|
||||
##
|
||||
|
||||
@@ -45,7 +55,7 @@ Index: hashcat-6.2.6/src/Makefile
|
||||
|
||||
##
|
||||
## General compiler and linker options
|
||||
@@ -181,6 +181,7 @@ COMPTIME := $(shell date
|
||||
@@ -202,6 +202,7 @@ COMPTIME := $(shell date
|
||||
|
||||
LFLAGS := $(LDFLAGS)
|
||||
|
||||
@@ -53,7 +63,7 @@ Index: hashcat-6.2.6/src/Makefile
|
||||
ifeq ($(PRODUCTION),0)
|
||||
CFLAGS += -W
|
||||
CFLAGS += -Wall
|
||||
@@ -235,7 +236,7 @@ endif
|
||||
@@ -277,7 +278,7 @@ endif
|
||||
ifeq ($(DEBUG),0)
|
||||
CFLAGS += -O2
|
||||
ifneq ($(UNAME),Darwin)
|
||||
|
||||
Reference in New Issue
Block a user