Commit Graph

8026 Commits

Author SHA1 Message Date
Jens Steube 2d539b7e63
Merge pull request #2943 from jtojanen/fix_filehandling
Avoid directly accessing file handle
2021-08-22 11:33:11 +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
Your Name 4b2c70bd82 make sure $u_pass is initialized 2021-08-20 11:54:39 +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 2c9e8ca25c Put team-hashcat repository link to docs/team.txt 2021-08-15 20:05:55 +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
Gabriele Gristina bbfc401ab8 add more checks in 27500/27600 module_verify_hash 2021-08-13 13:06:32 +02:00
Jukka Ojanen 5c0820b8d3 Assume hashconfig->tmp_size is the element size 2021-08-13 13:13:12 +03:00
Jens Steube beaa4e0da1
Merge pull request #2932 from matrix/fix_segfault_cmdline_with_user
Fixed segfault in potfile_handle_show()
2021-08-13 09:04:37 +02:00
Jens Steube c158d55e6b
Fix description of the fix done in potfile_handle_show() 2021-08-13 09:04:13 +02:00
Jens Steube 7f9eba69f4
Merge pull request #2930 from matrix/metamask_extraction_tool
add metamask extraction tool
2021-08-13 00:12:09 +02: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 9e37897f91 add metamask extraction tool 2021-08-12 18:48:44 +02:00
Gabriele Gristina 6ab2c13a0c vbox: add unit test, fix multihash 2021-08-12 17:36:20 +02:00
Jens Steube 1f22984313 The hc_bytealign_be_S() was merged too early, but is not yet used anywhere for this platform so we can remove it again. 2021-08-12 15:15:32 +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
Jens Steube f72f2b0f09 Encoding: Truncate password candidates in UTF8 -> UTF16 conversion if it contains an invalid UTF8 byte sequence 2021-08-11 16:44:04 +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
Jukka Ojanen 9c7b9253e7 Fix potfile not closed if opened 2021-08-11 02:19:56 +03:00
Jukka Ojanen ce0b4f571a Fix potfile_destroy() leaks 2021-08-11 01:30:07 +03:00
Jens Steube 577fada1de Add link to new hashcat discord 2021-08-10 23:54:18 +02:00
Jens Steube caca54b0c6 Deprecated Plugins: Marked plugins 2500/2501 and 16800/16801 as deprecated 2021-08-10 18:14:21 +02:00
Jens Steube 01738fafa0 Deprecated Plugins: Add new module function module_deprecated_notice() to mark a plugin as deprecated and to return a free text user notice
Added option --deprecated-check-disable to enable deprecated plugins
2021-08-10 17:59:52 +02:00
Gabriele Gristina a43e239db8 move to 27400, fix unit test 2021-08-10 16:35:15 +02:00
Jukka Ojanen bcb4a8f391 Add clFlush() to backend_session_update_mp() and backend_session_update_mp_rl() 2021-08-10 01:49:55 +03:00
Jens Steube 66873857f0
Merge pull request #2914 from therealartifex/master
resolves hashcat/hashcat#2913
2021-08-09 18:09:07 +02:00
Jens Steube 4685f04e18
Update m27200_a0-optimized.cl 2021-08-09 18:08:33 +02:00