jsteube
469fece141
OpenCL Kernels: Abort session if kernel self-test failed
6 years ago
Mathieu Geli
4dbc1f4a87
Implement 7701/7801 SAP CODVN half-hashes
6 years ago
Jaroslav Škarvada
83ce54a736
Add support for building with system lzma-sdk
...
Fixes : #1528
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
6 years ago
Jens Steube
1af8e29a4b
Add round_up_multiple_32() and round_up_multiple_64()
6 years ago
Jens Steube
1361651730
Add OPTS_TYPE_PREFERED_THREAD marker
6 years ago
jsteube
fe4413797e
OpenCL Kernels: Use three separate comparison kernels (depending on keyver) for WPA instead of one
6 years ago
jsteube
91e522d094
Add special marker for speed only mode
6 years ago
jsteube
c4f30220a0
OpenCL Kernels: Refactored kernel thread management from native to maximum per kernel
6 years ago
Jens Steube
d38608b9bc
Add get_kernel_preferred_wgs_multiple() for future use
6 years ago
Jens Steube
1f442b5b0c
Add get_kernel_local_mem_size() for future use
6 years ago
jsteube
ce8f445ebe
Fix a few warnings and divide by zero (speed_pos)
6 years ago
Jens Steube
d656e9c3a4
OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count
6 years ago
jsteube
a7a15df911
OpenCL Kernels: Improve performance preview accuracy in --benchmark, --speed-only and --progress-only mode
6 years ago
jsteube
088c45040b
Remove some redundant constants
6 years ago
Jens Steube
9b1e66d87c
Fixed a race condition in combinator- and hybrid-mode where the same scratch buffer was used by multiple threads
6 years ago
jsteube
05a01d3843
fix some datatypes
6 years ago
jsteube
bd9c17e49a
Add some missing function declarations
6 years ago
jsteube
a3a16f676f
OpenCL Kernels: Add a decompressing kernel and a compressing host code in order to reduce PCIe transfer time
...
For details see https://hashcat.net/forum/thread-7267.html
6 years ago
Jens Steube
fb00b528c4
Improve autotune and synchronize results on same OpenCL devices
6 years ago
jsteube
11b18512c7
Terminal: Add workitem settings to status display (can be handy for debugging)
6 years ago
jsteube
553668bb9f
Added hash-mode 16600 = Electrum Wallet (Salt-Type 1-3)
6 years ago
Jens Steube
7062425d2b
OpenCL Kernels: Use a special kernel to initialize the password buffer used during autotune measurements to reduce startup time
6 years ago
jsteube
7a8239b4c1
Fixed the maximum password length check in password reassembling function
...
Fixes #1492
6 years ago
jsteube
ce0cee0ac4
Stick to original JWT format from jwt.io
6 years ago
jsteube
0796c074c3
Added -m 16500 Kernels
...
Also changed function declaration of parser function from const hashconfig_t to just hashconfig_t
6 years ago
jsteube
ee9ec0f9a7
Add JWT esalt datatype
6 years ago
Jens Steube
bb806d777e
Merge pull request #1493 from mohemiv/master
...
added -m 16400 = CRAM-MD5 Dovecot
6 years ago
Arseniy Sharoglazov
928cf471fb
The hash-mode for "CRAM-MD5 Dovecot" changed from 10201 to 16400
6 years ago
Arseniy Sharoglazov
798f05355f
added -m 10201 = CRAM-MD5 Dovecot
6 years ago
Gabriele Gristina
03fab4a345
Fix clock_gettime() on OSX (v2)
7 years ago
Gabriele Gristina
43ce4f6135
Add checks for clock_gettime() support in Makefile
7 years ago
Gabriele Gristina
4f8343b8b1
Fix clock_gettime() on OSX
7 years ago
philsmd
bf656774bb
fixes #1279 : added -m 16300 = Ethereum Pre-Sale Wallet, PBKDF2-HMAC-SHA256
7 years ago
jsteube
838a71637a
Remove fixed iteration count for apple secure notes
7 years ago
jsteube
458fbcbce4
Merge branch 'master' of https://github.com/hashcat/hashcat
7 years ago
jsteube
d9c5c42966
Rename $SN$ signature to $ASN$ for apple secure notes
7 years ago
jsteube
0d89ddfcd9
Finish adding hash-mode 16200 = Apple Secure Notes
7 years ago
Rosen Penev
aece2cc4be
Get rid of hc_ctime too. Also fix some cppcheck confusion with nvapi.
...
Missed from last pull request.
7 years ago
Jens Steube
c41af948ba
Merge pull request #1471 from neheb/32to64
...
remove special time handling in hashcat.
7 years ago
jsteube
bbe9b723e1
Timer: Switch from gettimeofday() to clock_gettime() to workaround problems on cygwin
7 years ago
Rosen Penev
1c5915cae3
remove special time handling in hashcat.
...
There's a way to get 64-bit time_t and 64-bit stat in MinGW, so use that.
7 years ago
jsteube
494c2724f5
Add some types for later use
7 years ago
jsteube
ea795ef5ab
Move out code to check for hashfile or hash on commandline into dedicated function
7 years ago
jsteube
1184ae1cdd
Added option --benchmark-all to benchmark all hash-modes not just the default selection
7 years ago
jsteube
b864fa5ba7
Removed option --gpu-temp-retain that tried to retain GPU temperature at X degrees celsius, please use driver specific tools
...
Removed option --powertune-enable to enable power tuning, please use driver specific tools
7 years ago
jsteube
5847067c96
First working -m 16100 kernel
7 years ago
jsteube
04a30e6071
Show [r]esume in prompt in pause mode only and show [p]ause in prompt in resume mode only
...
Fixes https://github.com/hashcat/hashcat/issues/1459
7 years ago
philsmd
ef6b20cc30
increase HCBUFSIZ_LARGE and truncate too large strings when copied to old_buf in events
7 years ago
Rosen Penev
353d3c3008
Fix a bunch of cast-qual warnings
7 years ago
Rosen Penev
8458f07a57
Replace char[] with *char
...
The latter is more correct. The side effect is that filesize becomes smaller.
gcc clang
before
O2
756112 762120
Os
674192 680216
after
O2
748456 760728
Os
666536 674728
7 years ago
Jens Steube
5fa91ddbec
Merge pull request #1438 from Duncaen/musl
...
use fallback qsort implementation on linux systems without glibc
7 years ago
jsteube
1b312d14fd
Added hash-mode 16000 = Tripcode
7 years ago
Duncaen
24b8a838d4
use fallback qsort implementation on linux systems without glibc
7 years ago
jsteube
a5c79de43b
Update LZMA SDK files to latest (2017-08-28, 17.01 beta)
7 years ago
Jens Steube
b3b5f924dc
Merge pull request #1426 from neheb/patch-4
...
Fix clang compile under MSYS2
7 years ago
Rosen Penev
1fe16d3ee6
Fix clang compile under MSYS2
...
Clang does not define __WINNT__ under Windows. _WIN32 is the closest thing.
7 years ago
Rosen Penev
0555613305
Remove else statement after return
...
Suggested by clang tidy
7 years ago
Rosen Penev
496fc309fe
Add const to a few parameters.
...
Suggested by clang-tidy
7 years ago
Rosen Penev
707f28c723
partially fix compile for musl
7 years ago
philsmd
19504d6286
add missing function prototypes for the binary-search-tree-based pot sorting
7 years ago
Jens Steube
9568837b12
Revert "Replace PRIu64 with ju. Less verbose."
7 years ago
jsteube
980f04a7b6
Rename instances of OSX to MacOS
7 years ago
jsteube
bf112870a3
OpenCL Runtime: Improved detection for AMD and NV devices on OSX
7 years ago
jsteube
2e85972ec5
Add special detection for NVIDIA OpenCL devices on OSX
7 years ago
Rosen Penev
869b5fb522
Replace PRIu64 with ju. Less verbose.
7 years ago
jsteube
635b2bfd50
Do initial OpenCL device thread management a bit different
7 years ago
philsmd
276879b1ea
show/left: improve speed of --show/--left again by using a single malloc/free for all nodes and reduce RAM by using the first nodes hash information
7 years ago
philsmd
433513a47f
get rid of last_node in pot_tree_entry, we update the first node of the list instead of the last one
7 years ago
philsmd
6542331101
show/left: improved the performance by using a tree and linked node structure
7 years ago
jsteube
51aba5517f
Update some of the visual indicator of active options when benchmarking
7 years ago
jsteube
5e6d43107e
Startup: Check and abort session if outfile and wordlist point to the same file
7 years ago
philsmd
a10a8427cb
fixed the nanosecond access time problem, also working on macos now
7 years ago
jsteube
719f2656b1
Fix empty line check in _old_apply_rule()
7 years ago
philsmd
d8e7f5f05c
fixed problem with cached word lists (dictstat2): nanoseconds must be considered/ignored too
7 years ago
Jens Steube
a037ba0c73
Merge pull request #1375 from neheb/warning
...
Fix for clang and some cppcheck warnings
7 years ago
Rosen Penev
da621fa3be
fix some clang -Weverything warnings
7 years ago
Rosen Penev
ec55209254
remove hc_sleep and _msec.
...
MinGW defines sleep and usleep so just use those directly.
7 years ago
Fist0urs
e3cb3e9b4c
test.pl ready and 0 error. Ready for PR
7 years ago
Fist0urs
a6294537fd
Splitted DPAPI kernel in 2 to increase performances
7 years ago
jsteube
036d4874c7
Update version numbers to v4.0.0-RC1
7 years ago
jsteube
f55446b6f3
HCdict File: Renamed file from hashcat.hcdict to hashcat.hcdict2 and add header because versions are incompatible
7 years ago
jsteube
2517292ac1
Removed option --weak-hash-check (zero-length password check) to increase startup time, it also causes many Trap 6 error on OSX
7 years ago
jsteube
617dbb97ba
Prepare migration -m 15800 into -m 2500
7 years ago
jsteube
7a278ef035
Fix overflow in out_push()
7 years ago
jsteube
5551337cf6
Show advice to use optimized kernels only if there's actually one for this hash-mode
7 years ago
Jens Steube
fcd20fbacb
OpenCL Runtime: Fall back to 64 threads default (from 256) on AMD GPU to prevent creating too many workitems
7 years ago
jsteube
a0be36d7b8
Fix compile error caused by __add3()
7 years ago
jsteube
688a580d6c
Fixed an integer overflow in innerloop_step and innerloop_cnt variables
7 years ago
jsteube
1d04de3a8e
Limit kernel-loops in straight-mode to 256, therefore allow rules to be stored in constant memory
7 years ago
jsteube
51372438fe
Allow OpenCL kernel inline assembly if ROCm drivers was detected
7 years ago
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
7 years ago
jsteube
6907981f08
Backport current state of optimized kernel rule engine to CPU
7 years ago
jsteube
f63df45fca
Backport current state of pure kernel rule engine to CPU
7 years ago
jsteube
58d1dedd1e
OpenCL Buffers: Do not allocate memory for amplifiers for fast hashes, it's simply not needed
7 years ago
jsteube
319799bbbf
Switch the datatypes of the variables responsible for work-item count and work-item size from u32 to u64
7 years ago
philsmd
e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions
7 years ago
philsmd
1644ac30b5
use an overflow check instead of a hard coded value for ETA
7 years ago
jsteube
ac9bc55c9e
Fall back to 64 threads default (from 256) because modern GPU create too many workitems which then results in too less GPU memory available
7 years ago
philsmd
4a89172140
reformatting; replaced some tabs with spaces
7 years ago
jsteube
1cf6a078b0
Make tmp_size a real size_t as with latest GPU number can exceed 2^32
7 years ago
philsmd
bc1a101d2b
fixes #1321 : new option --wordlist-autohex-disable
7 years ago
jsteube
175931575c
Fixed the version number used in the restore file header
...
Fixes https://github.com/hashcat/hashcat/issues/1320
7 years ago
jsteube
0b0abb5c12
Prepare pure kernel rule engine for performance optimization
7 years ago
jsteube
e47506c610
Use pure kernel rule engine for --stdout
7 years ago
jsteube
f5ee3db5a6
Update cpu rule engine to support passwords up to length 256
7 years ago
jsteube
4f72c8bee6
Add pure kernels for SIP digest authentication (MD5)
7 years ago
jsteube
b847bbb274
Fix calculation of device_name_chksum; should be done for each iteration
7 years ago
jsteube
8f2cbb26de
Update some salt lengths in interface.h
7 years ago
jsteube
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
7 years ago
jsteube
f80d91aa94
Allow the skype parser to accept usernames of length SALT_MAX
7 years ago
jsteube
beb6ee2061
Add OPTI_TYPE_OPTIMIZED_KERNEL
...
Rename unconverted fast hash kernels to optimized kernels
Finalize some converted fast hashes to default kernels
7 years ago
jsteube
fbea72ebd6
Renamed default kernels to optimized kernels
...
Renamed pure kernels to default kernels
Replaced long option --length-limit-disable with --optimized-kernel-enable
Replaced short option -L with -O
Set --optimized-kernel-enable to unset by default
7 years ago
jsteube
f87ac21065
Some small corrections on salt length for MD5-ASA
7 years ago
jsteube
6c932e7ba1
Remove some unused macros
7 years ago
jsteube
967d7b9323
Rename SALT_TYPE_INTERN to SALT_TYPE_GENERIC
7 years ago
jsteube
f70da8a04c
Increase salt length for salt of generic hash types
...
Remove --hex-salt support for non-generic hash types
7 years ago
jsteube
af46a1560b
Vectorized Blockchain, My Wallet and added support for long passwords
7 years ago
jsteube
d3e6ae42f0
Added long passwords support for 7-Zip
7 years ago
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
7 years ago
jsteube
819b53eb1d
Added long passwords support for sha256crypt $, SHA256 (Unix)
7 years ago
jsteube
907b065e00
Vectorized TrueCrypt PBKDF2-HMAC-SHA512 and added support for long passwords
7 years ago
jsteube
fc100a852b
Added hash-mode 2501 = WPA/WPA2 PMK
...
Fixes https://github.com/hashcat/hashcat/issues/1287
Limited hash-mode 2500 to max length 63
Fixes https://github.com/hashcat/hashcat/issues/1286
7 years ago
jsteube
b9b2112b64
Add pure kernel for -m 1800
7 years ago
jsteube
f7a8e7c54b
Multiple changes:
...
* Added more preparations to support to crack passwords and salts up to length 256
* Added option --length-limit-disable to disable optimization based on password- and salt-length
* Added option --self-test-disable to disable self-test functionality on startup
7 years ago
jsteube
c918173fcf
Get rid of comb_t which can be safely replace with pw_t now
7 years ago
jsteube
a993395f28
Add code to read LZMA compressed hashcat.hcstat2
7 years ago
jsteube
c59432a760
Add hcstat2 support to enable masks of length up to 256, also adds a filetype header
7 years ago
jsteube
83455817a7
Working example of password up to length 256 for mode 2100
7 years ago
jsteube
ad242c2f12
Working example of generic salt up to length 256 for mode 2100
7 years ago
jsteube
4174f06008
PoC using a length-independant MD4 hash processing in -m 2100
7 years ago
jsteube
a673aee037
Very hot commit, continue reading here:
...
This is a test commit using buffers large enough to handle both passwords and salts up to length 256.
It requires changes to the kernel code, which is not included in here.
It also requires some of the host code to be modified. Before we're going to modify kernel code to support the larger lengths I want to be
sure of:
1. Host code modification is ok (no overflows or underflows)
2. Passwords and Salts are printed correctly to status, outfile, show, left, etc.
3. Performance does not change (or only very minimal)
This is not a patch that supports actual cracking both passwords and salts up to length 256, but it can not fail anyway.
If if it does, there's no reason to continue to add support for both passwords and salts up to length 256.
7 years ago
jsteube
94a35ae50a
Add support for hooks in selftest function
7 years ago
Jens Steube
08fc0ec1fb
Added self-test funcionality for OpenCL kernels on startup
...
Fixed a parser error for mode -m 9820 = MS Office <= 2003 $3, SHA1 + RC4, collider #2
7 years ago
Jens Steube
7e5b8d3f25
Added hash-mode 15500 = JKS Java Key Store Private Keys (SHA1)
7 years ago
jsteube
b8ad89c529
Rename function and variables containing 'unicode' to 'utf16le' because that's what's meant actually
7 years ago
jsteube
018bb208d9
Refactor OPTS_TYPE_PT_UNICODE -> OPTS_TYPE_PT_UNICODE_LE and add OPTS_TYPE_PT_UNICODE_BE
7 years ago
Jens Steube
6345fb53f9
Add missing struct names
7 years ago
Jens Steube
2a1fe6962d
Move blake2_t and chacha20_t to interface.h
7 years ago
Jens Steube
b23ab71d5c
- Added hash-mode 15600 = Ethereum Wallet, PBKDF2-HMAC-SHA256
...
- Added hash-mode 15700 = Ethereum Wallet, PBKDF2-SCRYPT
Resolves https://github.com/hashcat/hashcat/issues/1227
Resolves https://github.com/hashcat/hashcat/issues/1228
7 years ago
jsteube
b5f149476d
Trim OpenCL device name whitespaces
7 years ago
jsteube
0cce17d268
Eventual fix for #1263
7 years ago
jsteube
ef33544bfa
Show time spent for dictionary cache building on startup
7 years ago
Jens Steube
5611d7f950
Merge pull request #1256 from 0xbsec/reject_unless_equal
...
Add support for rejection rule _N
7 years ago
Jens Steube
865d885c59
Merge pull request #1257 from DoZ10/master
...
Removed unused structure blake2params_t
7 years ago
DoZ10
62df9648d6
Removed unused structure
7 years ago
DoZ10
556e64ffe6
Revert "Removed unused structure"
...
This reverts commit e7dab5d210
.
7 years ago
DoZ10
e7dab5d210
Removed unused structure
7 years ago
mhasbini
1330424079
Add support for rejection rule _N
7 years ago
Christopher Schmitt
d24a6198e8
first pass at free'ing hashcat_status_t
7 years ago
Jens Steube
f2ad095191
Merge pull request #1237 from DoZ10/master
...
New algorithm: Chacha20
7 years ago