1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-29 11:28:15 +00:00
Commit Graph

4267 Commits

Author SHA1 Message Date
Jens Steube
733f9c2d77 Add better detection future HIP 4.4 2021-10-12 20:01:14 +02:00
Jens Steube
c08ad6f587
Merge pull request #3007 from philsmd/whitespace_fix
whitespace and code style fixes
2021-10-10 13:33:11 +02:00
Jens Steube
d6f8f3089a Added hash-mode: CRC64Jones 2021-10-09 11:43:04 +02:00
philsmd
5ef522ed8f
whitespace and code style fixes 2021-10-08 17:38:54 +02:00
philsmd
fde01b1d4b
change default pass for LM 2021-10-08 17:00:13 +02:00
Jens Steube
07e58631a5 Backend devices: In non -S mode, limit the number of workitems so that no more than 4GB of host memory is required per backend device 2021-10-04 08:36:56 +02:00
Jens Steube
d34616c423 Added hash-mode: CRC32C 2021-10-02 09:57:16 +02:00
Jens Steube
5e48f2a552 Fixed invalid handling of initialization value for -m 11500 2021-09-30 21:30:20 +02:00
Slattz
c717821f84 Add MurmurHash3 module 2021-09-27 21:07:23 +01:00
Jens Steube
4b6654b503 Fix unstable plugin to driver warning 2021-09-24 13:35:18 +02:00
Jens Steube
c1fd42fe72 Reduce work item maximum in -S mode even further, tested with NTLM 2021-09-23 12:46:00 +02:00
Jens Steube
bd2cde31ae Back-end devices: In -S mode, limit the number of workitems so that no more than 2GB of host memory is required per backend device 2021-09-22 13:03:25 +02:00
Jens Steube
4ef1509bc7 Backend Devices: Reduce maximum workitems limited derived from available host memory down from to 8GB to 4GB per backend device 2021-09-21 13:01:15 +02:00
Jens Steube
db8de70ac8
Merge pull request #2988 from matrix/metamask_big
MetaMask: Increase the supported data len from 784b to 3136b and set pw-min to 8
2021-09-19 07:46:47 -04:00
Jens Steube
dbefc7e60e Fixed strategy for eliminating hashes with zero length in LM when multiple hashes contain a zero hash 2021-09-18 14:14:28 +02:00
Jens Steube
ee3eb21a0d Update hashcat discord address in usage screen 2021-09-17 13:26:15 +02:00
Jukka Ojanen
c6ac306950 Fix fgetl() logic 2021-09-13 19:26:00 +03:00
Jens Steube
540c0dde81
Merge pull request #2877 from thatux/25400_salt
improve 25400: recover both owner and user; add user password to hash; better test
2021-09-11 20:56:18 +02:00
Jens Steube
a1ec246c8d Fix format string template in -m 27700 2021-09-10 20:34:42 +02:00
Jens Steube
aea0071b58
Merge pull request #2965 from philsmd/master
fixes #2674: added -m 27700 = MultiBit Classic .wallet (scrypt)
2021-09-10 20:24:06 +02:00
philsmd
afa2330e6a
fixes #2973: allow longer size fields for -m 11600 = 7-Zip 2021-09-10 17:47:09 +02:00
Jens Steube
721e1ea54d Fixed division by zero because backend_ctx->hardware_power_all was not re-inserted after refactoring device_param->hardware_power 2021-09-08 17:37:18 +02:00
Jens Steube
6f61c314ec
Merge pull request #2962 from jtojanen/unzip
Set unzip internal buffer size to 256k
2021-09-06 19:59:59 +02:00
philsmd
8db02091a1 fixes #2674: added -m 27700 = MultiBit Classic .wallet (scrypt) 2021-09-06 19:54:22 +02:00
Gabriele Gristina
694f0cd7c8 metamask: double the CT len again 2021-09-06 18:17:11 +02:00
Jens Steube
8c14fd85ea POCL: Added a workaround for an issue in POCL that uses a quote character as part of the path itself given to a path for the -I option 2021-09-05 10:55:59 +02:00
Jens Steube
5503212b37 Fix CRLF line-endings in src/modules/module_17010.c 2021-09-04 18:33:16 +02:00
Jens Steube
76facb56cf Replace sha1_update_swap() with sha1_update()
Move hc_bytealign_be_S() to kernel
Remove invalid use of NEW_SIMD_CODE
Replace hc_bytealign_be_S() with hc_bytealign_le_S()
Change zero strategy in memzero_le_S()
2021-09-04 18:32:00 +02:00
Jens Steube
af40ec0640
Merge pull request #2907 from fse-a/GPG
Added GPG module and kernel
2021-09-04 18:27:54 +02:00
Jukka Ojanen
7b5f584fac Set unzip internal buffer size to 256k 2021-09-04 17:08:52 +03:00
Jens Steube
82b337fbca
Merge pull request #2960 from jtojanen/chunked
Refactor file reading/writing
2021-09-03 10:10:08 +02:00
Miezhiko
0d5aed883b
Fix compilation without brain
Signed-off-by: Miezhiko <Miezhiko@gmail.com>
2021-09-02 17:52:27 +04:00
Jukka Ojanen
ac9d2241c2 Increase unzReadCurrentFile() chunk size to INT_MAX 2021-09-02 16:03:25 +03:00
Jukka Ojanen
592b28f65f Add tests for 32 bit build 2021-09-02 15:57:22 +03:00
Jukka Ojanen
e6c89040fe Refactor xz file reading 2021-09-02 15:16:19 +03:00
Jukka Ojanen
63cc905bbc Refactor zip file reading 2021-09-02 14:59:38 +03:00
Jukka Ojanen
b542d293b4 Refactor Windows file reading/writing 2021-09-02 13:49:28 +03:00
Jukka Ojanen
5baaa4fb0f Fix merge mistake 2021-09-02 12:08:36 +03:00
Jukka Ojanen
213b533975 Use HCFILE_BUFFER_SIZE for xz stream 2021-09-02 12:00:46 +03:00
Jukka Ojanen
5afbd77347 Merge branch 'master' of https://github.com/hashcat/hashcat into gzip 2021-09-02 11:57:54 +03:00
Jens Steube
318bd46ccb
Merge pull request #2949 from jtojanen/xz
Support on-the-fly loading of compressed wordlists in xz format
2021-09-02 10:31:00 +02:00
Jukka Ojanen
1b4edf879b Set GZIP internal buffer size to 256k (default 8k) 2021-09-01 14:28:24 +03:00
Jens Steube
bdd3f27239 Fixed invalid progress counter initialization in attack-mode 9 when using --skip or --restore 2021-09-01 09:35:25 +02:00
Jens Steube
aaf26dee98 Makefile: Added wildcard include src/modules/module_*.mk directive so that plugin developers can add 3rd party libraries for their plugins 2021-08-31 20:54:32 +02:00
Gabriele Gristina
6cbc614826 metamask: double the CT len, set pw_min to 8 2021-08-31 16:40:11 +02:00
Jukka Ojanen
106fe88e4e Report the uncompressed size only if it's known 2021-08-30 16:28:54 +03:00
Jens Steube
cb93875c32 Disabled checking of the minimum and maximum length of the password candidate in attack-mode 9 because they are incompatible 2021-08-30 14:34:56 +02:00
Jens Steube
534bfd3172 Fixed out-of-boundary reads in attack mode 9 that were caused by a missing work item limit in the refactored autotune engine 2021-08-30 14:20:00 +02:00
Jens Steube
5769c99686 Unset PRODUCTION option 2021-08-29 17:45:39 +02:00
Jens Steube
4aadb3a2f1 hashcat 6.2.4 2021-08-29 17:22:59 +02:00
Jens Steube
f1a42a9b26 Fix hash category in -m 27200 2021-08-29 17:17:17 +02:00
Jukka Ojanen
8324d3cd07 Initialize both 32bit CrcGenerateTable() and 64bit Crc64GenerateTable() 2021-08-29 01:31:56 +03:00
Jukka Ojanen
b2870dadfd Fix include file case 2021-08-28 20:05:59 +03:00
Jens Steube
ed7d58b850 Update benchmark hash-mode header visualization 2021-08-28 13:05:05 +02:00
Jukka Ojanen
f502d80459 Fix include file case 2021-08-27 11:09:37 +03:00
Jens Steube
34064bbae8
Update main.c 2021-08-27 08:50:21 +02:00
Jukka Ojanen
4dcdbebb2f Scan the xz file to determinate the number of blocks and streams, and its uncompressed size 2021-08-26 16:41:17 +03:00
Jukka Ojanen
985252e283 Silence GCC misleading indentation warning for LZMA SDK 2021-08-26 14:04:54 +03:00
Jukka Ojanen
47bb7620ee Use fastest SHA-256 implementation supported by CPU 2021-08-26 13:01:25 +03:00
Jukka Ojanen
639068548e Define _7ZIP_ST to build single-threaded LZMA SDK 2021-08-25 18:23:49 +03:00
Jukka Ojanen
3cacbe0e1f Add support for xz compressed files 2021-08-25 16:56:55 +03:00
Jukka Ojanen
4e224dec82 Make object file naming unique 2021-08-25 16:17:37 +03:00
TheWorkingDeveloper
9c0655dc83
Align formatting
Align formatting of the benchmark with the status changes.
Removed an extra newline which reduces clutter and groups together the mode and the result
2021-08-25 12:49:20 +02:00
Jens Steube
daea190be8
Merge pull request #2947 from TheWorkingDeveloper/patch-2
Reformat the status to include hashcat id of mode
2021-08-25 12:30:43 +02:00
Jens Steube
ec98373719
Update terminal.c 2021-08-25 12:29:46 +02:00
TheWorkingDeveloper
a29f70c9f9
Adjusted format
This format matches the format used in benchmarks and looks clean in the format of
id - name
2021-08-24 17:17:36 +02:00
Jens Steube
b4b2195fa5 OpenCL Runtime: The use of clUnloadPlatformCompiler () was disabled after some users received unexpected return codes 2021-08-24 09:37:49 +02:00
Jens Steube
d845154507 Fix hash-name length in -m 27200 2021-08-23 19:58:43 +02:00
TheWorkingDeveloper
6008a8873e
Add hashcat mode to status
Hashcat mode displayed after the hash name.
https://github.com/hashcat/hashcat/issues/2945
2021-08-23 18:59:29 +02:00
Jukka Ojanen
3bc7b6af90 Avoid directly accessing file handle 2021-08-21 14:29:10 +03:00
Jens Steube
85854236d1
Merge pull request #2935 from matrix/apple_gpu_workaround
workaround to 'clEnqueueWriteBuffer(): CL_INVALID_VALUE' with apple gpu
2021-08-21 08:04:37 +02:00
Jens Steube
330ad34f17 Fixed unintentional overwriting of the --quiet option in benchmark and speed-only mode 2021-08-20 10:41:44 +02:00
Your Name
db2e7d1391 m25400 can now recover both a owner-password and user-password (when set) based on a pdf's o-value
- added option to add the user-password to the pdf hash as an extra colum
- added pdf test files, both with and without a owner- and user-password

The main todo is to add a recovered user-password to back the hash that's written to the potfile.
Currently I'm printing a recovered password as "(user password=...) after the recovered owner-password.
Similair as the VC PIM is printed. However, this isn't most elegant.

A secondary todo is to verify a recovered user-password based on the u-value,
this could possibly simplify the check whether the recoverd password is a user-password or owner-password.
2021-08-20 10:16:14 +02:00
Jens Steube
50e28ff306
Merge pull request #2926 from jtojanen/master
Code cleanup and small fixes
2021-08-19 14:59:16 +02:00
Jukka Ojanen
6b4786de84 Make blocking clEnqueueWriteBuffer() non-blocking 2021-08-18 20:19:51 +03:00
Jukka Ojanen
fed32a58c7 Always cleanup and initialize all parts of HC_FILE structure 2021-08-18 19:28:00 +03:00
Jukka Ojanen
f3cd32bffd Avoid memory copy in rebuild_pws_compressed_append() and assign instead 2021-08-18 17:46:39 +03:00
Jukka Ojanen
089a4847db Check NULL pointer before using gzip/zip APIs 2021-08-18 17:18:31 +03:00
Jens Steube
76e388ea47 Memory Management: Check in OpenCL that CL_DEVICE_HOST_UNIFIED_MEMORY is true and if so, then half of the available memory
NEO driver: Activate the NEO driver (Intel GPU) after it passed several tests in hashcat using the latest NEO driver version
2021-08-18 16:10:51 +02:00
Jukka Ojanen
36c209c421 Check NULL pointer before using file APIs 2021-08-18 16:46:17 +03:00
Jens Steube
9254603960 Fixed out-of-boundary read in PKZIP masterkey kernel if the password candidate has length zero.
Now that kernel threads are no longer fixed over the entire session, hardware_power and hardware_power_all
needs to be updated the same way as kernel_power and kernel_power_all for each call to inner2_loop().
2021-08-17 17:38:45 +02:00
Jens Steube
49117745cf STDIN Interface: Disable the --stdin-timeout-abort check after 1000 successful reads from stdin 2021-08-16 19:42:02 +02:00
Jens Steube
f45110d8ec Replace index() with strchr() for better Windows compatiblity 2021-08-14 11:51:53 +02:00
Jens Steube
05f107cbe5 Added option --generate-rules-func-sel to specify a pool of operators that the random rule generator is allowed to pick from 2021-08-14 11:43:32 +02:00
Jens Steube
6b485dd3fd
Merge pull request #2934 from jtojanen/fix_extra_tmp_size
Assume hashconfig->tmp_size is the element size
2021-08-14 10:06:55 +02:00
Jens Steube
53aec89b09
Merge pull request #2931 from matrix/fix_snmp_sha384_sha512
fix OPTS_TYPE in SNMPv3 HMAC-SHA384-256 / HMAC-SHA512-384 modules
2021-08-14 09:18:47 +02:00
Jens Steube
2ca13fb450
Merge pull request #2884 from matrix/vbox
Added hash-modes: VirtualBox (PBKDF2-HMAC-SHA256 & AES-128-XTS/AES-256-XTS)
2021-08-14 08:48:20 +02:00
Gabriele Gristina
72735ed7c4 update workaround 2021-08-13 20:17:09 +02:00
Gabriele Gristina
fef18965c3 workaround to 'clEnqueueWriteBuffer(): CL_INVALID_VALUE' with apple gpu 2021-08-13 16:00:32 +02:00
Jukka Ojanen
5c0820b8d3 Assume hashconfig->tmp_size is the element size 2021-08-13 13:13:12 +03:00
Gabriele Gristina
b61852675f Fixed segfault in potfile_handle_show() 2021-08-12 23:53:52 +02:00
Gabriele Gristina
c538d5d7ba fix OPTS_TYPE in SNMPv3 HMAC-SHA384-256 / HMAC-SHA512-384 modules 2021-08-12 23:37:07 +02:00
Gabriele Gristina
6ab2c13a0c vbox: add unit test, fix multihash 2021-08-12 17:36:20 +02:00
Gabriele Gristina
38772397cd fix kernels and modules 2021-08-12 14:43:34 +02:00
Gabriele Gristina
75d3d5503d merge master 2021-08-12 14:36:51 +02:00
Gabriele Gristina
bd7aa3b364 move modules to 27500 and 27600 2021-08-12 14:33:28 +02:00
Jens Steube
b386ab1c27
Merge pull request #2882 from matrix/vmware_vmx
Added hash-mode: VMware VMX (PBKDF2-HMAC-SHA1 + AES-256-CBC)
2021-08-12 08:32:38 +02:00
Jens Steube
9e9ed433e4
Update with newly added module functions 2021-08-12 08:24:38 +02:00
Jukka Ojanen
6cf553410b Avoid (possible) undefined behaviour in hc_fclose(), and don't assume plain file 2021-08-11 14:06:48 +03:00
Jens Steube
37957bf702
Update some formatting, added signature constant, Update new module functions module_extra_tuningdb_block() and module_deprecated_notice(), replaced some hex decode and encoding with real hex_encode() and hex_decode() functions. 2021-08-11 10:55:36 +02:00