Commit Graph

4341 Commits (07a5cae4fd096f94033ffee62298a535e0a62219)

Author SHA1 Message Date
Jens Steube 76facb56cf Replace sha1_update_swap() with sha1_update()
3 years ago
Jens Steube af40ec0640
Merge pull request #2907 from fse-a/GPG
3 years ago
Jukka Ojanen 7b5f584fac Set unzip internal buffer size to 256k
3 years ago
Jens Steube 82b337fbca
Merge pull request #2960 from jtojanen/chunked
3 years ago
Miezhiko 0d5aed883b
Fix compilation without brain
3 years ago
Jukka Ojanen ac9d2241c2 Increase unzReadCurrentFile() chunk size to INT_MAX
3 years ago
Jukka Ojanen 592b28f65f Add tests for 32 bit build
3 years ago
Jukka Ojanen e6c89040fe Refactor xz file reading
3 years ago
Jukka Ojanen 63cc905bbc Refactor zip file reading
3 years ago
Jukka Ojanen b542d293b4 Refactor Windows file reading/writing
3 years ago
Jukka Ojanen 5baaa4fb0f Fix merge mistake
3 years ago
Jukka Ojanen 213b533975 Use HCFILE_BUFFER_SIZE for xz stream
3 years ago
Jukka Ojanen 5afbd77347 Merge branch 'master' of https://github.com/hashcat/hashcat into gzip
3 years ago
Jens Steube 318bd46ccb
Merge pull request #2949 from jtojanen/xz
3 years ago
Jukka Ojanen 1b4edf879b Set GZIP internal buffer size to 256k (default 8k)
3 years ago
Jens Steube bdd3f27239 Fixed invalid progress counter initialization in attack-mode 9 when using --skip or --restore
3 years ago
Jens Steube aaf26dee98 Makefile: Added wildcard include src/modules/module_*.mk directive so that plugin developers can add 3rd party libraries for their plugins
3 years ago
Gabriele Gristina 6cbc614826 metamask: double the CT len, set pw_min to 8
3 years ago
Jukka Ojanen 106fe88e4e Report the uncompressed size only if it's known
3 years ago
Jens Steube cb93875c32 Disabled checking of the minimum and maximum length of the password candidate in attack-mode 9 because they are incompatible
3 years ago
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
3 years ago
Jens Steube 5769c99686 Unset PRODUCTION option
3 years ago
Jens Steube 4aadb3a2f1 hashcat 6.2.4
3 years ago
Jens Steube f1a42a9b26 Fix hash category in -m 27200
3 years ago
Jukka Ojanen 8324d3cd07 Initialize both 32bit CrcGenerateTable() and 64bit Crc64GenerateTable()
3 years ago
Jukka Ojanen b2870dadfd Fix include file case
3 years ago
Jens Steube ed7d58b850 Update benchmark hash-mode header visualization
3 years ago
Jukka Ojanen f502d80459 Fix include file case
3 years ago
Jens Steube 34064bbae8
Update main.c
3 years ago
Jukka Ojanen 4dcdbebb2f Scan the xz file to determinate the number of blocks and streams, and its uncompressed size
3 years ago
Jukka Ojanen 985252e283 Silence GCC misleading indentation warning for LZMA SDK
3 years ago
Jukka Ojanen 47bb7620ee Use fastest SHA-256 implementation supported by CPU
3 years ago
Jukka Ojanen 639068548e Define _7ZIP_ST to build single-threaded LZMA SDK
3 years ago
Jukka Ojanen 3cacbe0e1f Add support for xz compressed files
3 years ago
Jukka Ojanen 4e224dec82 Make object file naming unique
3 years ago
TheWorkingDeveloper 9c0655dc83
Align formatting
3 years ago
Jens Steube daea190be8
Merge pull request #2947 from TheWorkingDeveloper/patch-2
3 years ago
Jens Steube ec98373719
Update terminal.c
3 years ago
TheWorkingDeveloper a29f70c9f9
Adjusted format
3 years ago
Jens Steube b4b2195fa5 OpenCL Runtime: The use of clUnloadPlatformCompiler () was disabled after some users received unexpected return codes
3 years ago
Jens Steube d845154507 Fix hash-name length in -m 27200
3 years ago
TheWorkingDeveloper 6008a8873e
Add hashcat mode to status
3 years ago
Jukka Ojanen 3bc7b6af90 Avoid directly accessing file handle
3 years ago
Jens Steube 85854236d1
Merge pull request #2935 from matrix/apple_gpu_workaround
3 years ago
Jens Steube 330ad34f17 Fixed unintentional overwriting of the --quiet option in benchmark and speed-only mode
3 years ago
Your Name db2e7d1391 m25400 can now recover both a owner-password and user-password (when set) based on a pdf's o-value
3 years ago
Jens Steube 50e28ff306
Merge pull request #2926 from jtojanen/master
3 years ago
Jukka Ojanen 6b4786de84 Make blocking clEnqueueWriteBuffer() non-blocking
3 years ago
Jukka Ojanen fed32a58c7 Always cleanup and initialize all parts of HC_FILE structure
3 years ago
Jukka Ojanen f3cd32bffd Avoid memory copy in rebuild_pws_compressed_append() and assign instead
3 years ago
Jukka Ojanen 089a4847db Check NULL pointer before using gzip/zip APIs
3 years ago
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
3 years ago
Jukka Ojanen 36c209c421 Check NULL pointer before using file APIs
3 years ago
Jens Steube 9254603960 Fixed out-of-boundary read in PKZIP masterkey kernel if the password candidate has length zero.
3 years ago
Jens Steube 49117745cf STDIN Interface: Disable the --stdin-timeout-abort check after 1000 successful reads from stdin
3 years ago
Jens Steube f45110d8ec Replace index() with strchr() for better Windows compatiblity
3 years ago
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
3 years ago
Jens Steube 6b485dd3fd
Merge pull request #2934 from jtojanen/fix_extra_tmp_size
3 years ago
Jens Steube 53aec89b09
Merge pull request #2931 from matrix/fix_snmp_sha384_sha512
3 years ago
Jens Steube 2ca13fb450
Merge pull request #2884 from matrix/vbox
3 years ago
Gabriele Gristina 72735ed7c4 update workaround
3 years ago
Gabriele Gristina fef18965c3 workaround to 'clEnqueueWriteBuffer(): CL_INVALID_VALUE' with apple gpu
3 years ago
Jukka Ojanen 5c0820b8d3 Assume hashconfig->tmp_size is the element size
3 years ago
Gabriele Gristina b61852675f Fixed segfault in potfile_handle_show()
3 years ago
Gabriele Gristina c538d5d7ba fix OPTS_TYPE in SNMPv3 HMAC-SHA384-256 / HMAC-SHA512-384 modules
3 years ago
Gabriele Gristina 6ab2c13a0c vbox: add unit test, fix multihash
3 years ago
Gabriele Gristina 38772397cd fix kernels and modules
3 years ago
Gabriele Gristina 75d3d5503d merge master
3 years ago
Gabriele Gristina bd7aa3b364 move modules to 27500 and 27600
3 years ago
Jens Steube b386ab1c27
Merge pull request #2882 from matrix/vmware_vmx
3 years ago
Jens Steube 9e9ed433e4
Update with newly added module functions
3 years ago
Jukka Ojanen 6cf553410b Avoid (possible) undefined behaviour in hc_fclose(), and don't assume plain file
3 years ago
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.
3 years ago
Jukka Ojanen 9c7b9253e7 Fix potfile not closed if opened
3 years ago
Jukka Ojanen ce0b4f571a Fix potfile_destroy() leaks
3 years ago
Jens Steube 577fada1de Add link to new hashcat discord
3 years ago
Jens Steube caca54b0c6 Deprecated Plugins: Marked plugins 2500/2501 and 16800/16801 as deprecated
3 years ago
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
3 years ago
Gabriele Gristina a43e239db8 move to 27400, fix unit test
3 years ago
Jukka Ojanen bcb4a8f391 Add clFlush() to backend_session_update_mp() and backend_session_update_mp_rl()
3 years ago
Jukka Ojanen 3b11b51113 Remove unnecessary hc_cuEventSynchronize() call
3 years ago
Jukka Ojanen 1edb649c1f Remove duplicate conditions
3 years ago
therealartifex 50684cc5f4
Merge branch 'hashcat:master' into master
3 years ago
Jens Steube 33a2b17b61 Fix some memory leaks in case hashcat aborts due to command line parameter settings
3 years ago
therealartifex 8711072838 Fix errors and make recommended changes, set pw_max to 9 for opti kernel
3 years ago
therealartifex 045f6d034e
Merge branch 'hashcat:master' into master
3 years ago
Jens Steube b301a6746f Initialize struct stat s ourself because clang sanitizer thinks it's unknown if the structure is initialized in full by stat() call
3 years ago
therealartifex 97d1f4b36f Merge branch 'master' of https://github.com/therealartifex/hashcat
3 years ago
therealartifex 4448ea0f58 Update based on review recommendations
3 years ago
therealartifex f6e9f5414d
Merge branch 'hashcat:master' into master
3 years ago
Jens Steube 5e1d37c82e Make unsupported AMD HIP runtime version error message a bit more human readable
3 years ago
therealartifex 9a7a9f66ef Add attack mode -a3 optimized kernel
3 years ago
Jens Steube ea5ddee6e2 Add autotune event to inform the user about autotune is starting/stopping on startup
3 years ago
therealartifex 0738820a89
Merge branch 'hashcat:master' into master
3 years ago
Jens Steube 70f1e16a0d Improved error message in case a module is using outdated function structure
3 years ago
Jens Steube 63a0c5a1e1
Merge branch 'master' into snmpv3_sha512
3 years ago
Jens Steube dde75f2763
Merge pull request #2904 from matrix/snmpv3_sha384
3 years ago
Jens Steube cb69e2d413 Added some HIP version checks, fall back to OpenCL automatically
3 years ago
therealartifex ff55f31081 Update module, add a0 and a1 optimized kernels
3 years ago
therealartifex afd3858f36
Merge branch 'hashcat:master' into master
3 years ago
therealartifex d22bb0e712 Renumber to hash mode 27200
3 years ago
Gabriele Gristina 81b54c3689 rename to 27300, reduced the amount of memory allocated in gpu for SNMPv3 HMAC-SHA512-384
3 years ago
Gabriele Gristina 87f7bc59e3 reduced the amount of memory allocated in gpu for SNMPv3 HMAC-SHA384-256
3 years ago
Jens Steube 3c1542b0b1
Merge branch 'master' into fix_15300_bof
3 years ago
Jens Steube 1ee1a2278a
Merge branch 'master' into fix_15900_bof
3 years ago
Jens Steube c2a79a4f9e
Merge pull request #2607 from Cablethief/master
3 years ago
Michael Kruger 5c9be6c855 Add extra_tuningdb_block, test mod_constrants [-1,-1]
3 years ago
Jens Steube b2d1f42905 Fix self-test functionality if FIXED_LOCAL_SIZE_COMP is used
3 years ago
Michael Kruger 3ba02f11ea Expect Hex input, removed OPTS_TYPE_PT_ALWAYS_HEXIFY, added benchmark mask.
3 years ago
Jens Steube 7f16921d8b
Merge pull request #2916 from philsmd/7zip_long_data
3 years ago
Jens Steube 2a1ee5d218
Merge pull request #2915 from philsmd/master
3 years ago
Jens Steube af5d346244
Merge pull request #2894 from jtojanen/master
3 years ago
therealartifex 483a62cb7c Add test module, update name of hash mode 27100
3 years ago
therealartifex dc662c354e Update hash-mode number
3 years ago
Jens Steube 20a7b9f992 Tuning-Database: Add new module function module_extra_tuningdb_block() to extend hashcat.hctune content from a plugin
3 years ago
Jukka Ojanen 3d7ce7162b Merge branch 'master' of https://github.com/hashcat/hashcat
3 years ago
Jukka Ojanen 62a06f735f kernel_memset32(): assume offset and size are bytes, not elements
3 years ago
Jukka Ojanen fdbfae9a28 Modify OpenCL clEnqueueFillBuffer() workaround
3 years ago
Jukka Ojanen dbe2bad098 Maintain code style
3 years ago
Jukka Ojanen 1ee222d43f Replace free() with hcfree()
3 years ago
Jukka Ojanen e352a79a05 Extend context in gidd_to_pw_t()
3 years ago
Jens Steube 9e077575c6
Merge branch 'master' into fix_24700_bof
3 years ago
Jens Steube a440a4dee5
Merge branch 'master' into fix_25500_bof
3 years ago
Jens Steube 6bcbc218d6 Fixed out-of-boundary read in input_tokenizer() if the signatures in the hash line is longer than the constant signature in the plugin
3 years ago
Jens Steube f4e52ca533 Add new rule function '3' to switch the case of the first letter after occurrence N of char X
3 years ago
Jens Steube d4997d1255 Added support for auto-tuning --kernel-threads (-T) on startup
3 years ago
Gabriele Gristina 89234a5c7c Fixed buffer overflow in Stargazer Stellar Wallet XLM module
3 years ago
Gabriele Gristina 4869e2a9d1 Fixed buffer overflow in Stuffit5 module
3 years ago
Gabriele Gristina a847a4c84b Fixed multiple buffer overflow in DPAPI masterkey file v2 module
3 years ago
Gabriele Gristina ca896f89bc Fixed multiple buffer overflow in DPAPI masterkey file v1 module
3 years ago
therealartifex 6d4dbffda1 Moved the addition of static dashes to the kernel
3 years ago
therealartifex 1c9add307a
Merge branch 'hashcat:master' into master
3 years ago
Jens Steube bb1ead3b01
Merge branch 'master' into snmpv3_sha256
3 years ago
Jens Steube 8801855b14
Merge branch 'master' into snmpv3_sha224
3 years ago
therealartifex 73104fafea Update based on recommendations and examination of mode 19500
3 years ago
therealartifex 33ce4f9720 Add new hash-mode 28200 (SHA1DASH), used in Zynga, 8tracks, and avvo
3 years ago
philsmd 92dfa7e137 Increase buffer sizes for -m 11600 = 7-Zip
3 years ago
philsmd 51adbbbe53 fix buffer sizes for -m 13600 = WinZip
3 years ago
Jukka Ojanen e154f9e781 Few cleanups
3 years ago
Jukka Ojanen c3195d0603 Merge branch 'master' of https://github.com/hashcat/hashcat
3 years ago
Jukka Ojanen d721deb17a Move variables higher to avoid async execution stack problems
3 years ago
Jukka Ojanen 1064cce08c Synchronize before hooks
3 years ago
Jukka Ojanen 81c2ec3caf Small cleanup in gidd_to_pw_t()
3 years ago
Jukka Ojanen 8d51fca192 No need to synchronize after run_kernel()
3 years ago
Jukka Ojanen 7a8065d090 Do not call clWaitForEvents() after spin damper when we know that event status is CL_COMPLETE
3 years ago
Jukka Ojanen c48e6a25a8 Enqueue several commands before clFlush()
3 years ago
Jens Steube 03ed06849a
Merge branch 'HIP44' into master
3 years ago
Jens Steube d38d40c8ba Unlock all GPU threads for AMD GPUs if WaveFront size is 32 (basically new models)
3 years ago
Jukka Ojanen 9ed231c99c Add comment to blocking OpenCL calls
3 years ago
Jukka Ojanen e889cf98a9 Few cleanups in autotune
3 years ago
Jens Steube a4299b74af Memory Management: Refactored the code responsible for limiting kernel accel in order to avoid out of -host- memory situations
3 years ago
Jukka Ojanen d7cc8d7cd2 Revert due to module_03200.c, module_25600.c and module_25800.c using device_param->kernel_dynamic_local_mem_size_memset
3 years ago
Jukka Ojanen 8b590f651b Remove unused gpu_memset and its references
3 years ago
Jens Steube 9c0a37accf Update driver requirement
3 years ago
Jens Steube ae39fa0979
Merge pull request #2908 from hashcat/master
3 years ago
Jens Steube 25f1c12e3c SCRYPT Kernels: Add more optimized values for some new NV/AMD GPUs and new semi-automated derivation process description
3 years ago
pelle 00c9c2ed1b Added GPG module and kernel.
3 years ago
Jukka Ojanen 5dbe4958b8 Remove digests_shown_tmp buffer, used in check_cracked() to zero out hashes
3 years ago
Jukka Ojanen cdf27a1cb3 Implement async run_cuda_kernel_memset() and run_cuda_kernel_memset32()
3 years ago
Jukka Ojanen e8be7028cd Handle errors inside check_cracked()
3 years ago
Jukka Ojanen be33ccaa6c check_hash() needs to return value to indicate possible error
3 years ago
Jens Steube 532a154542 ADL: Updated support for AMD Display Library to 15.0, updated datatypes and added support for OverDrive 7 and 8 based GPUs
3 years ago
Jukka Ojanen ae44a3022b Use fast event to synchronize selftest()
3 years ago
Jukka Ojanen d7de3550b1 Add fast event for CUDA and HIP, and use it to synchronize check_hash()
3 years ago
Jens Steube f6de3e61e0
Merge pull request #2906 from hashcat/master
3 years ago
Jens Steube e5ac568afb
Merge pull request #2903 from matrix/snmpv3_mod
3 years ago
Jens Steube e627288c04
Merge pull request #2897 from matrix/snmpv3_md5_sha1
3 years ago
Jens Steube fd2cb59d26 AMD GPUs: On Apple OpenCL platform, we ask for the preferred kernel thread size rather than hard-coding 32
3 years ago
Gabriele Gristina 357c23d7a1 Added hash-mode: SNMPv3 HMAC-SHA384-256
3 years ago
Gabriele Gristina 15b90c953e Added hash-mode: SNMPv3 HMAC-SHA512-384
3 years ago
Gabriele Gristina d711c593de fix to crack real hashes
3 years ago
Gabriele Gristina d62fa617fb fix to crack real hashes
3 years ago
Gabriele Gristina c20ff01c39 using shared buffer between md5 and sha1 SNMPV3_TMP_ELEMS_OPT, fix to crack real hashes
3 years ago
Jukka Ojanen 73b8cda176 Avoid unnecessary memcpy in check_hash()
3 years ago
Jukka Ojanen 43a3622a77 Add necessary synchronization to check_hash() and check_cracked()
3 years ago
Gabriele Gristina e15fe3461e add missing pw_min() to snmpv3 md5/sha1 modules
3 years ago
Gabriele Gristina 45fce5d3a3 fix snmpv3 md5/sha1, tested with real hashes
3 years ago
Jukka Ojanen a642f7b233 Remove synchronous GPU memory copy functions
3 years ago
Jukka Ojanen 507d40fff6 Allow async execution of check_hash() and check_cracked()
3 years ago
Jukka Ojanen de5200cffc Allow async execution of backend
3 years ago
Jens Steube 7f419c68af Blowfish Kernels: Backport optimizations reducing bank conflicts from bcrypt to Password Safe v2 and Open Document Format (ODF) 1.1
3 years ago
Jens Steube b66c093c17
Merge pull request #2902 from hashcat/master
3 years ago
Jens Steube 1e3bd2c8a0 AMD GPUs: Add inline assembly code for md5crypt/sha256crypt, PDF 1.7, 7-Zip, RAR3, Samsung Android and Windows Phone 8+
3 years ago
Jens Steube b53691c8f5 ADL: Updated support for AMD Display Library to 14.0, updated datatypes and added support for OverDrive 7 and 8 based GPUs
3 years ago
Jukka Ojanen a86b44a750 Allow async execution of autotune() and prepare try_run() for async kernel execution
3 years ago
Jukka Ojanen 79404b1ff1 Allow async execution of selftest()
3 years ago
Jens Steube 72e307fbce
Merge pull request #2901 from hashcat/master
3 years ago
Jens Steube 83badbeaf1 Backport native threads strategy from Kerberos to Office and PDF
3 years ago
Jens Steube 959a232828
Merge pull request #2885 from neheb/charfixes
3 years ago
Jens Steube 84a4058edf
Merge pull request #2900 from hashcat/master
3 years ago
Jens Steube 44dbedd21a Use improved native threads derivation for RC4 based hash-modes
3 years ago
Gabriele Gristina 58bb2b69b4 Added hash-mode: SNMPv3 HMAC-SHA256-192
3 years ago
Gabriele Gristina 7683ca19a3 Added hash-mode: SNMPv3 HMAC-SHA224-128
3 years ago
Gabriele Gristina 7c8d7f7831 Added hash-mode: SNMPv3 HMAC-MD5-96/HMAC-SHA1-96
3 years ago
Jens Steube 640d95a00f Vendor Detection: Add "Intel" as a valid vendor name for GPU on macOS
3 years ago
Gabriele Gristina 4f10377703 Added hash-mode: SNMPv3 HMAC-MD5-96
3 years ago
Jens Steube 3a31b669b5 Optimize and clean up -m 25200 code.
3 years ago
Jens Steube 5e0f7ecf00
Merge pull request #2889 from matrix/snmpv3_sha1
3 years ago
Gabriele Gristina 4fb44f826c updated module_25200.c as requested in the review
3 years ago
Jens Steube 3f6c5a0042 Update module_unstable_warning() for -m 172xx on HIP
3 years ago