1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-29 18:08:46 +00:00
Commit Graph

10131 Commits

Author SHA1 Message Date
magnum
e549182889 Added m10510 for PDF 1.4 - 1.6 using RC4-40
Actually the key can be 40 to 128 bits in multiples of 4 according to the
specification, but supporting arbitrary key length hits performance (and
need for that should be extremely rare).

Note: Self-test vector is a mockup but the format was first tested using a
real document hash.
2024-11-01 16:05:12 +01:00
Gabriele Gristina
d93d208ad8 Modules: Added module_unstable_warning for 22500, update module_unstable_warning for 10700 2024-10-31 18:43:35 +01:00
Gabriele Gristina
db814b5837 Update PR #3735 2024-10-31 18:29:23 +01:00
Gabriele Gristina
5efbd2f435 Fixed clang identification in src/Makefile 2024-10-31 18:17:34 +01:00
Gabriele Gristina
a80d68731e Kernel: Renamed multiple defines in CAST cipher to fit expected naming convention of the C++ language standard 2024-10-31 18:04:58 +01:00
Jakub Kramarz
0700efa015 Fixed padding format in Mojolicious session cookies 2024-10-31 09:16:10 +01:00
Mathias
d756a6617c
Update backend.c
Fixes hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION on AMD 6900XT.

```bash
hiprtcCompileProgram(): HIPRTC_ERROR_COMPILATION

ld.lld: error: undefined hidden symbol: __ockl_get_group_id
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_memset)
>>> referenced 7 more times

ld.lld: error: undefined hidden symbol: __ockl_get_local_size
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_memset)
>>> referenced 7 more times

ld.lld: error: undefined hidden symbol: __ockl_get_local_id
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_decompress)
>>> referenced by /home/mathias/.local/share/hashcat/comgr-69ec34/input/shared_kernel.o:(gpu_memset)
>>> referenced 7 more times

* Device #1: Kernel /usr/local/share/hashcat/OpenCL/shared.cl build failed.

* Device #1: Kernel /usr/local/share/hashcat/OpenCL/shared.cl build failed.
```
2024-10-29 15:35:10 +01:00
hashrepublic
bf338e0c12
fixed m21310_sxx 2024-10-29 14:22:29 +01:00
hashrepublic
cb99fcf73b
fixed mode m21310 OpenCL types 2024-10-29 07:27:11 +01:00
Gabriele Gristina
356ad9f927 Fixed memory leaks in tuning_db_init in tuningdb.c 2024-10-27 00:45:44 +02:00
Gabriele Gristina
b67638ab36 do not allow --stdout and --slow-candidates 2024-10-26 15:11:45 +02:00
Gabriele Gristina
e3c097c88b do not allow --show and --restore 2024-10-26 14:51:11 +02:00
Gabriele Gristina
0788fd9ae7 Fixed stack buffer overflow in PKZIP modules (17200, 17210, 17220, 17225, 17230) 2024-10-26 13:24:00 +02:00
Gabriele Gristina
a66c93ae1e Fixed bug in --stdout when multiple computing devices are active 2024-10-24 21:13:11 +02:00
Gabriele Gristina
7398b03be3 User Options: limit --bitmap-max value to 31 2024-10-24 20:15:08 +02:00
Jakub Kramarz
844f2a92d2 Add support for Mojolicious session cookies 2024-10-10 18:44:32 +02:00
Matt Weir
6264e6412d Updated radmin3_to_hashcat.pl to support multiple users
I tried to keep much of the hash extraction code the same. The main changes are it detects the file encoding to deal with ASCII vs. UTF16-LE, it strips out any header info in the registry dump, and then it breaks up the registry for each radmin3 user so that it can then loop through them to generate the hash.
2024-09-18 22:07:32 -04:00
holly-o
cbc21cf767
Update tools/bitlocker2hashcat.py
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2024-09-13 15:08:31 +01:00
holly-o
7c1688a266
Update tools/bitlocker2hashcat.py
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2024-09-13 15:07:01 +01:00
holly-o
02e7692eb9
Merge pull request #1 from holly-o/holly-o-patch-1
Add bitlocker2hashcat.py
2024-09-13 11:23:08 +01:00
holly-o
55ca7fb27b
Add bitlocker2hashcat.py
For generating hashes for mode 22100. Hashcat supports modes $bitlocker$0$ and $bitlocker$1$ and therefore this script will output hashes that relate to a VMK protected by a user password only. Script created since bitlocker2john takes an extremely long time to run and sometimes fails to output a hash, or outputs incorrect information. Script created using information at https://github.com/libyal/libbde/blob/main/documentation/BitLocker%20Drive%20Encryption%20(BDE)%20format.asciidoc#encryption_methods
and tested on Windows hard drives and USB sticks.
2024-09-13 11:19:27 +01:00
Konrad Goławski
dda0cc2d4b Fix hash encoding in WinZip format 2024-09-11 10:53:22 +02:00
PenguinKeeper7
3e48db8206 Show all autotune setting changes in -b
Previous behaviour was to only show the first autotune setting, this change makes it so it shows everything if it's changed as there's no reason to hide it and is safer to show everything that's changed
2024-07-31 15:40:09 +01:00
Flaggx1
4e0fc2099e Removed incorrect semicolon and blank line 2024-07-25 07:29:26 -04:00
Flaggx1
d299b2833e Reduce user-defined charsets to 8. Remove unnecessary code. 2024-07-25 07:07:27 -04:00
Flagg
7d75520343
Merge branch 'hashcat:master' into feature_increase_custom_charsets 2024-07-25 06:38:51 -04:00
Dylan Evans
1aeeced038 Create tools/shiro1-to-hashcat.py 2024-07-04 13:37:23 -04:00
Dylan Evans
9bf2c527a6 PR comments polish 4 2024-07-01 10:51:35 -04:00
Dylan Evans
99b5fa1338 Create m12150.pm 2024-06-17 20:22:41 -04:00
Dylan Evans
02b1a7930b PR comments polish 3 2024-06-10 11:10:09 -04:00
Dylan Evans
b19101ed08 PR comments polish 2 2024-06-08 16:53:45 -04:00
Dylan Evans
d0dc41f98d PR comments polish 1 2024-06-07 11:43:00 -04:00
Dylan Evans
ad03dcaffa add Apache Shiro 1 algorithm (12150) 2024-06-04 17:23:24 -04:00
PenguinKeeper7
86ac061c16
Update src/modules/module_23400.c
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2024-05-20 23:57:42 +01:00
PenguinKeeper7
f80d916142 Update module_23400.c 2024-05-20 16:35:39 +01:00
PenguinKeeper7
bf6a4e34bd Fix max iteration values
https://github.com/hashcat/hashcat/pull/3980#discussion_r1606514918
2024-05-20 10:49:24 +01:00
philsmd
fcfbc328d3
fix whitespace/indentation 2024-05-07 12:15:54 +02:00
jsteube
6716447dfc Add support for zero-length salts in Electrum $4 and $5 2024-04-20 17:35:45 +00:00
PenguinKeeper7
29b39c5b83 Raise Bitwarden Iteration Limit
Replace old 999,999 iteration cap with a larger cap to satisfy: https://hashcat.net/forum/thread-11885.html. Unknown if there is any Bitwarden-native cap on iterations.
2024-04-02 22:34:29 +01:00
PenguinKeeper7
4cb22387b3 Added hash-mode: md5(sha1(md5($pass)))
See: https://github.com/hashcat/hashcat/issues/3974
2024-03-29 03:05:33 +00:00
elliot
d76137d44b
Update module_20711.c 2024-03-11 16:05:07 -04:00
Xeonacid
5a817a7fee
Fix bash completion install
- `^(HASHCAT_ROOT=)` instead of `^(ROOT=)`
- single quotation instead of double quotation
to avoid `bash: !\1\: event not found` error
2024-03-09 20:32:26 +08:00
PenguinKeeper7
16b249c44f Make skipped device warning respect --quiet
The other usual device information does not show when using --quiet, only the skipped warning does, making it a little out of place. Old:
```
> ./hashcat -m 99999 abcdef -a 3 abcdef --quiet
The device #2 specifically listed was skipped because it is an alias of device #1

abcdef:abcdef
>
```
New:
```
> ./hashcat -m 99999 abcdef -a 3 abcdef --quiet
abcdef:abcdef
```
2024-02-29 23:53:11 +00:00
Rosen Penev
cdd92f6de6 Fix MinGW printf formats
Based on various compilation flags, MinGW uses either gnu_printf or
printf (really ms_printf) internally which confuses the compiler when
encountering gnu formats. OTOH, clang under MinGW does not support
gnu_printf.

Just use the macro to handle this mess.

Also remove macro that was originally used to work around this. It's
wrong and should not be used.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-02-28 18:06:04 -08:00
Rosen Penev
6aaf0f3ac4 Fix compilation on newer FreeBSD
Apparently qsort_r is a macro now. Check for it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-02-28 18:06:04 -08:00
Rosen Penev
1685f11b87 replace index with strchr
The former is deprecated and unavailable if POSIX_C_SOUCE==200811L.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-02-28 18:06:04 -08:00
its5Q
9a14c99bb1 Update metamask2hashcat to use new format and add test vault JSON 2024-02-24 16:42:08 +10:00
its5Q
5f9caed13d Remove unused Metamask OpenCL kernels 2024-02-23 06:24:24 +10:00
its5Q
b90fe9f228 Merge branch 'master' of https://github.com/its5Q/hashcat 2024-02-23 06:22:48 +10:00
its5Q
d725b4b928 Switch to using TOKEN_ATTR_OPTIONAL_ROUNDS for Metamask hashmodes 2024-02-23 06:22:27 +10:00