1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-30 03:48:17 +00:00
Commit Graph

635 Commits

Author SHA1 Message Date
jsteube
dd97799e4c Hashcat Context: Fixed a memory leak in shutdown phase 2018-01-31 16:42:04 +01:00
jsteube
e2654efaa7 Hash Parser: Fixed a memory leak in shutdown phase 2018-01-31 16:40:48 +01:00
jsteube
c34670c567 OpenCL Devices: Fixed several memory leaks in shutdown phase 2018-01-31 16:38:55 +01:00
jsteube
09261dad0e Prepare for v4.1.0 release 2018-01-30 11:24:21 +01:00
jsteube
2095e27d46 User Options: According to getopts manpage the last element of the option array has to be filled with zeros 2018-01-29 12:35:08 +01:00
jsteube
68b1ea4b68 OpenCL Runtime: Updated rocm detection 2018-01-28 20:14:25 +01:00
jsteube
9aa9725b91 Terminal: Display Set Cost/Rounds During Benchmarking 2018-01-28 13:53:31 +01:00
Royce Williams
5409bdffbd minor changes.txt grammar prior to release 2018-01-27 07:57:32 -09:00
jsteube
553668bb9f Added hash-mode 16600 = Electrum Wallet (Salt-Type 1-3) 2018-01-25 15:28:21 +01:00
Jens Steube
7062425d2b OpenCL Kernels: Use a special kernel to initialize the password buffer used during autotune measurements to reduce startup time 2018-01-23 20:33:26 +01:00
jsteube
7a8239b4c1 Fixed the maximum password length check in password reassembling function
Fixes #1492
2018-01-22 18:59:46 +01:00
jsteube
5eeefb5506 More prepare for JWT 2018-01-21 15:29:17 +01:00
Jens Steube
bb806d777e
Merge pull request #1493 from mohemiv/master
added -m 16400 = CRAM-MD5 Dovecot
2018-01-19 10:13:46 +01:00
jsteube
53f3da9f63 OpenCL Kernels: Use static declaraction for uXXa variables used in __constant space 2018-01-18 23:19:31 +01:00
jsteube
7c1fb0140c Files: Copy include/ folder and its content to case SHARED is set to 1 in Makefile 2018-01-18 12:09:51 +01:00
Arseniy Sharoglazov
928cf471fb The hash-mode for "CRAM-MD5 Dovecot" changed from 10201 to 16400 2018-01-17 11:25:21 +03:00
Arseniy Sharoglazov
798f05355f added -m 10201 = CRAM-MD5 Dovecot 2018-01-15 15:52:52 +03:00
jsteube
7f087d0102 Remove no longer valid change in changes.txt 2018-01-10 12:48:55 +01:00
philsmd
fa679ce496
masks: skipping too large/small masks fixed 2018-01-03 14:46:49 +01:00
philsmd
bf656774bb
fixes #1279: added -m 16300 = Ethereum Pre-Sale Wallet, PBKDF2-HMAC-SHA256 2017-12-20 11:41:46 +01:00
jsteube
94bfd28c74 More preparations for hash-mode 16200 2017-12-13 10:39:39 +01:00
jsteube
bbe9b723e1 Timer: Switch from gettimeofday() to clock_gettime() to workaround problems on cygwin 2017-12-10 14:02:43 +01:00
jsteube
1184ae1cdd Added option --benchmark-all to benchmark all hash-modes not just the default selection 2017-12-05 11:08:59 +01:00
jsteube
f817652bbb Terminal: Send clear line code to the same output stream as the next message following 2017-12-04 14:51:42 +01:00
jsteube
829ea605c5 Self Test: Skip self-test for mode 8900 user-configurable scrypt settings are incompatible to fixed settings in the self-test hash
Self Test: Skip self-test for mode 15700 because settings are too high and create a too long startup time
2017-12-04 11:14:39 +01:00
jsteube
a20e76a50b Documents: Added docs/limits.txt 2017-12-04 10:51:49 +01:00
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
2017-12-01 15:19:10 +01:00
jsteube
9c7b56165c Reset PID controller history data for GPU fan speed in case user resumes from a paused session 2017-12-01 11:25:37 +01:00
jsteube
7a54490da2 More -m 16100 preparations 2017-11-29 14:55:48 +01:00
jsteube
42d1db4294 Fixed a restore issue leading to "Restore value is greater than keyspace" in case mask-files or wordlist-folders were used 2017-11-28 09:25:10 +01:00
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
2017-11-26 10:50:22 +01:00
philsmd
9d58ddd9f6
fixed strtok_r () calls, could prevent memory crashes 2017-11-18 14:23:02 +01:00
philsmd
d382400805
fixes #1450: allow longer crc32 data length field for -m 11600 2017-11-18 12:59:21 +01:00
philsmd
ef6b20cc30
increase HCBUFSIZ_LARGE and truncate too large strings when copied to old_buf in events 2017-11-18 12:18:56 +01:00
philsmd
f86854a0c8
fixes #1447: prevent hexifying the [] passwords again in --show runs 2017-11-17 10:13:04 +01:00
philsmd
612a50408c
in case of a parser error we always should include the actual error message even if hash is long 2017-11-16 12:37:31 +01:00
jsteube
1b312d14fd Added hash-mode 16000 = Tripcode 2017-11-11 14:44:56 +01:00
philsmd
227a5aa092
fix #1435: --show/--left hash parsing fixed for hashes with long salts 2017-11-09 11:36:01 +01:00
jsteube
f2ea05ca69 Final v4.0.1 commit 2017-11-07 10:15:03 +01:00
philsmd
52f8063697
cosmetic: fixed changes.txt, the VERSION_EXPORT fix was done after 4.0.0 release 2017-11-07 10:02:22 +01:00
philsmd
7825846e00
for 1414: add dependency on the shared root folder, fix parallel builds 2017-11-06 12:46:56 +01:00
jsteube
f8c687f529 Fixed compile of kernels on AMD systems on windows due to invalid detection of ROCm 2017-11-06 10:22:23 +01:00
philsmd
1030f5b44e
fixes #1403: fixed extraction of the version number for archives without .git dir 2017-10-24 13:34:01 +02:00
Jens Steube
77f3eb2864 OpenCL Kernels: Thread-count is set to hardware native count except if -w 4 is used then OpenCL maximum is used 2017-10-22 14:16:32 +02:00
jsteube
ecbf053639 Fixed some ordering in the changes.txt 2017-10-22 12:30:17 +02:00
jsteube
d0f5c9f2b3 Rename MacOS to macOS 2017-10-20 13:36:47 +02:00
jsteube
980f04a7b6 Rename instances of OSX to MacOS 2017-10-20 11:58:31 +02:00
jsteube
bf112870a3 OpenCL Runtime: Improved detection for AMD and NV devices on OSX 2017-10-20 11:34:36 +02:00
jsteube
a4ac6468f2 Add a note on Intel MIC performance improvement 2017-10-19 15:27:09 +02:00
jsteube
6c16b7f3ee Version tag rc6 2017-10-17 12:30:39 +02:00
philsmd
6542331101
show/left: improved the performance by using a tree and linked node structure 2017-10-17 12:08:17 +02:00
jsteube
73bba00286 Autotune: Do a pre-autotune test run to find out if kernel runtime isabove some TDR limit
HCtune File: Remove apple related GPU entries to workaround Trap 6 error
2017-10-17 09:07:59 +02:00
jsteube
51aba5517f Update some of the visual indicator of active options when benchmarking 2017-10-14 12:54:34 +02:00
jsteube
bfd3c57308 Fixed a calculation error in get_power() leading to errors of type "BUG pw_add()!!" 2017-10-10 14:41:33 +02:00
jsteube
5e6d43107e Startup: Check and abort session if outfile and wordlist point to the same file 2017-10-10 11:30:20 +02:00
philsmd
d8e7f5f05c
fixed problem with cached word lists (dictstat2): nanoseconds must be considered/ignored too 2017-09-29 12:13:29 +02:00
jsteube
81c2ab2ded OpenCL Runtime: On AMD GPU, recommend AMD ROCm driver for Linux 2017-09-21 16:27:27 +02:00
jsteube
036d4874c7 Update version numbers to v4.0.0-RC1 2017-09-20 16:06:27 +02:00
jsteube
f55446b6f3 HCdict File: Renamed file from hashcat.hcdict to hashcat.hcdict2 and add header because versions are incompatible 2017-09-20 10:22:18 +02:00
Jens Steube
a18e86a1f0 Update changes 2017-09-19 20:26:56 +02:00
jsteube
2517292ac1 Removed option --weak-hash-check (zero-length password check) to increase startup time, it also causes many Trap 6 error on OSX 2017-09-19 12:04:05 +02:00
philsmd
2dadae4e9a fixed incorrect use of the esalt_bufs for -m 600 = BLAKE2-512 2017-09-17 15:28:24 +02:00
mhasbini
de7ccd88ef Fix overflow in mangle_dupechar_last function 2017-09-16 20:43:38 +03:00
jsteube
34c5eac550 Fixed the use of --veracrypt-pim option. It was completely ignored without showing an error 2017-09-16 12:53:45 +02:00
jsteube
d05f40ab98 Remove OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND, no longer needed with latest ROCm 2017-09-06 16:38:55 +02:00
jsteube
0dfe015301 Fixed a parser error in multiple modes not checking for return code, resulting in negative memory index writes 2017-09-04 15:53:13 +02:00
jsteube
8b0e7087c7 Fixed an invalid optimization code in kernel 7700 depending on the input hash, causing the kernel to loop forever 2017-09-03 13:36:14 +02:00
jsteube
8ee75141ea OpenCL Runtime: Set OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND 2017-08-31 15:25:19 +02:00
jsteube
6d112aeb39 OpenCL Kernels: Rewritten Keccak kernel to run fully on registers and partially reversed last round 2017-08-30 13:27:04 +02:00
Jens Steube
fcd20fbacb OpenCL Runtime: Fall back to 64 threads default (from 256) on AMD GPU to prevent creating too many workitems 2017-08-29 17:36:50 +02:00
jsteube
7cebc936fd Add a note on improved rule engine performance to changes.txt 2017-08-27 17:16:35 +02:00
jsteube
35a24df55e Fixed an integer overflow in hash buffer size calculation 2017-08-26 16:29:59 +02:00
jsteube
f6fe5657a3 Fixed an integer overflow in masks not skipped when loaded from file 2017-08-26 14:40:53 +02:00
jsteube
688a580d6c Fixed an integer overflow in innerloop_step and innerloop_cnt variables 2017-08-25 20:52:13 +02:00
philsmd
f1c3f952ba
fixes show output of -m 9710, -m 9810 and -m 10410 2017-08-25 09:55:10 +02:00
jsteube
12d95fd22c Added option --example-hashes to show an example hash for each hash-mode 2017-08-22 11:09:46 +02:00
jsteube
a8f3392344 Startup: Show some attack-specific optimizer constraints on start, eg: minimum and maximum support password- and salt-length 2017-08-22 10:08:28 +02:00
philsmd
a4616e6c6d
fixes #1338: hexify also all password of format $HEX[] 2017-08-21 09:14:49 +02:00
jsteube
58d1dedd1e OpenCL Buffers: Do not allocate memory for amplifiers for fast hashes, it's simply not needed 2017-08-19 19:25:37 +02:00
Royce Williams
63575b332b clarify --self-test in changes.txt 2017-08-19 08:09:51 -08:00
jsteube
064e53fa23 Add missing changes to changes.txt 2017-08-19 17:55:50 +02:00
jsteube
0846b33f52 Fixed an invalid progress value in status view if words from the base wordlist get rejected because of length 2017-08-19 17:02:05 +02:00
jsteube
92a288fbd3 Resolved merge conflict by incorporating both suggestions. 2017-08-17 12:12:03 +02:00
philsmd
0d6b9d0419
fixes #1313: keep/print the original salt for descrypt hashes 2017-08-17 11:29:04 +02:00
philsmd
1d5dbab258
fixes #1278: allow the '#' character within the username field of DCC2 hashes 2017-08-17 07:51:19 +02:00
philsmd
e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions 2017-08-16 19:43:41 +02:00
philsmd
1644ac30b5
use an overflow check instead of a hard coded value for ETA 2017-08-16 17:51:35 +02:00
philsmd
bc1a101d2b fixes #1321: new option --wordlist-autohex-disable 2017-08-16 12:42:28 +02:00
philsmd
42ee091772
fixed the usage of getopt_* () 2017-08-16 11:46:17 +02:00
jsteube
175931575c Fixed the version number used in the restore file header
Fixes https://github.com/hashcat/hashcat/issues/1320
2017-08-14 12:10:42 +02:00
philsmd
611b62a25d
fixed double-free problem if OpenCL/ folder is missing (and e.g. shared folder == session folder) 2017-08-10 15:05:47 +02:00
philsmd
344d1a37df
fixes 1306: every permanent chdir () needs to update the folder_config 2017-08-03 14:02:09 +02:00
jsteube
03bb234045 Preparation for WPA/WPA2 AES-CMAC: works till PMK 2017-07-20 12:46:18 +02:00
jsteube
8fe0a36b30 OpenCL Runtime: Updated AMD ROCm driver version check, warn if version < 1.1 2017-07-06 21:54:28 +02:00
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
2017-07-03 16:11:57 +02:00
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
2017-06-29 12:19:05 +02:00
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
2017-06-13 19:07:08 +02:00
Jens Steube
e87fb31d3f WPA cracking: Improved nonce-error-corrections mode to use a both positive and negative corrections 2017-06-12 09:59:15 +02:00
jsteube
9a8f4036ec Set github master back into development mode 2017-06-10 13:02:20 +02:00
Jens Steube
7e5b8d3f25 Added hash-mode 15500 = JKS Java Key Store Private Keys (SHA1) 2017-06-09 09:56:06 +02:00
jsteube
e4727fad87 Prepare for next release v3.6.0 2017-06-06 09:13:34 +02:00
Royce Williams
3fc185a66b tidy changes.txt and name normalizations 2017-06-04 13:54:41 -08:00
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
2017-06-03 23:23:03 +02:00
jsteube
ef33544bfa Show time spent for dictionary cache building on startup 2017-05-23 10:07:04 +02:00
Jens Steube
5611d7f950 Merge pull request #1256 from 0xbsec/reject_unless_equal
Add support for rejection rule _N
2017-05-20 11:24:38 +02:00
mhasbini
1330424079 Add support for rejection rule _N 2017-05-19 15:13:07 +03:00
Christopher Schmitt
efd18121d5 Review/Style Changes 2017-05-19 08:09:14 -04:00
Jens Steube
f2ad095191 Merge pull request #1237 from DoZ10/master
New algorithm: Chacha20
2017-05-18 13:51:47 +02:00
philsmd
bd84249d4e
updated docs/changes.txt to reflect the recent changes for 7zip 2017-05-17 15:53:17 +02:00
jsteube
7bd391df71 Fixed a condition that caused a hybrid attack using a maskfile to not select all wordlists from a wordlist folder
Fixes https://github.com/hashcat/hashcat/issues/1244
2017-05-17 12:33:46 +02:00
jsteube
bb2118a290 Workaround added for NVidia NVML library: If libnvidia-ml.so couldn't be load try again using libnvidia-ml.so.1 2017-05-17 11:21:06 +02:00
Jens Steube
974128bdce Merge pull request #1245 from 0xbsec/rule-position-p
Add support for rule position 'p'
2017-05-17 10:55:08 +02:00
DoZ10
5683df2e17 Fixed conflicts 2017-05-16 20:36:55 -04:00
mhasbini
be0dec621a Add support for rule position 'p' in host mode 2017-05-14 18:50:45 +03:00
DoZ10
0d3b5393ef Swapped mode 670 -> 15400 2017-05-14 06:52:14 -04:00
Fist0urs
7ff09c6710 Preparing PR 2017-05-09 20:14:07 +02:00
DoZ10
3c67e0054c Implemented Perl test and fixed issues. Now have a working base. 2017-05-06 20:40:10 -04:00
Jens Steube
b924901bb0 Merge pull request #1226 from DoZ10/master
Blake2b raw hash implementation
2017-05-03 16:38:03 +02:00
DoZ10
31fbe481fa Fixed final details 2017-05-02 07:17:29 -04:00
mhasbini
5734741392 Add support for rule: eX 2017-04-30 16:23:39 +03:00
Jens Steube
0fcf51dee3 Fixed a missing type specifier in a function declaration of the RACF kernel 2017-04-27 17:56:38 +02:00
Jens Steube
79609e8a54 Building: On binary release package, link libiconv static for windows binaries 2017-04-19 10:51:28 +02:00
Jens Steube
26a345334f Added hash-mode 15200 = Blockchain, My Wallet, V2
Fixes https://github.com/hashcat/hashcat/issues/109
2017-04-16 13:19:23 +02:00
Jens Steube
7cabb848d2 Wordlist encoding: Support added for internal convert from and to user-defined encoding during runtime
Wordlist encoding: Added parameters --encoding-from and --encoding-to to configure wordlist encoding handling
Dictstat: Structure for dictstat file changed as it has to include --encoding-from and --encoding-to parameter now
2017-04-14 16:36:28 +02:00
jsteube
318ba234f8 OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 17.10 is detected which is known to be broken 2017-04-11 13:33:25 +02:00
jsteube
26949a4fce WPA cracking: Improved nonce-error-corrections mode to fix corrupt nonce generated on Big-Endian devices
WPA cracking: Reduced --nonce-error-corrections default from 16 to 8 to compensate speed drop caused due to Big-Endian fixes
Fixes https://github.com/hashcat/hashcat/issues/1221
2017-04-10 10:11:32 +02:00
jsteube
e492f0e57a reordered some positions in changes.txt 2017-04-01 21:33:23 +02:00
Royce Williams
32cf972c1c minor changes to wording in changes.txt for 3.5.0 2017-04-01 08:02:34 -08:00
jsteube
ac99df6618 Versions: Changed version naming convention from x.yz to x.y.z 2017-03-31 15:28:20 +02:00
jsteube
4b9e5f263f Add missing changes.txt note 2017-03-30 09:51:25 +02:00
Royce Williams
596778043f event_log_: length <80, end with '.', grammar 2017-03-26 09:52:36 -08:00
jsteube
99fbaa8bcc Dictionary Cache: Split long status line into multiple lines to stay < 80 chars 2017-03-25 16:11:01 +01:00
jsteube
e734e39df1 also make a note for that in changes.txt 2017-03-24 23:39:57 +01:00
jsteube
6d66ff96c1 Truncate longer hash format in status output 2017-03-24 10:45:40 +01:00
jsteube
d1b2fa0b31 Added hash-mode 15100 = Juniper/NetBSD sha1crypt 2017-03-23 16:44:32 +01:00
philsmd
07c748e136
fixes #1199: introduce special bit (8) in message_pair (HCCAPX) to indicate if replay counter match 2017-03-22 12:09:15 +01:00
philsmd
c54b85a3be minor: cleaned up code and updated docs wrt #1195 2017-03-22 11:52:08 +01:00
jsteube
a30a9f5b45 Fixed a hash validation error when trying to load Android FDE < 4.3 hashes 2017-03-21 14:07:16 +01:00
Jens Steube
c7ed2ade17 Fixed a race condition when a session finishes the input-base was freed but accessed afterwards
Fixes https://github.com/hashcat/hashcat/issues/1192
2017-03-19 20:41:50 +01:00
jsteube
378f852cec Parameter: Detect and error when users try to use a non-digit where a digit is expected
Fixes https://github.com/hashcat/hashcat/issues/1189
2017-03-19 15:11:41 +01:00
jsteube
d78a58414c Parameter: Detect and warn when users try to use an empty string (length 0) for parameters like --session=
Fixes https://github.com/hashcat/hashcat/issues/1190
2017-03-19 14:18:11 +01:00
jsteube
53acb98cf8 Files: Detect and warn when users try to use -r with a parameter which is not a file
Fixes https://github.com/hashcat/hashcat/issues/1191
2017-03-19 13:59:36 +01:00
jsteube
20057d8516 Roll back status view progress percentage in case -s was used 2017-03-15 16:15:37 +01:00
jsteube
7e449e75d1 Fixed status view progress percentage in case -s was used 2017-03-13 23:00:17 +01:00
Jens Steube
963a9772ba Fixed --remove was not applied in case all hashes have been cracked by help of potfile or weak-hash check 2017-03-12 11:05:37 +01:00
philsmd
4021d5744c
fixes #1175: custom charsets and --stdout triggered a missing mask error 2017-03-11 08:25:58 +01:00
philsmd
9b0821bb20
fixes #1162: visual indication if checkpoint quit is enabled 2017-03-07 23:06:50 +01:00
jsteube
c04dd5c8b1 WPA cracking: Added support for WPA/WPA2 handshake AP nonce automatic error correction
WPA cracking: Added parameter --nonce-error-corrections to configure range of error correction
2017-03-07 14:41:58 +01:00
jsteube
a7ce8ee166 Added change to changes.txt 2017-03-07 10:00:54 +01:00
philsmd
a2708e1063
fixes #1160: parsing/displaying -m 7000 = Fortigate hashes 2017-03-05 17:14:55 +01:00
philsmd
522c047860
min pass length init: typo fixed 2017-03-04 20:02:47 +01:00
philsmd
8bd6001072
fixes #1153: incorrect error message when --keyspace combined with custom charsets was used 2017-03-04 08:58:22 +01:00
jsteube
89f8739dde Fixed overflow in bcrypt kernel in expand_key() function 2017-03-03 15:26:59 +01:00
philsmd
35c1f731b8
osx: some more volatile are required for luks/tc 2017-03-03 10:49:40 +01:00
jsteube
b55b068ed3 Reordered changes.txt to match with upcoming release notes 2017-03-03 08:59:54 +01:00
jsteube
6b77606bdd Fixed recursion in loopback handling when session was aborted by the user 2017-03-02 23:30:43 +01:00
philsmd
fbb1f92d2b
osx: -m 3200 = bcrypt needs a volatile variable 2017-03-02 22:24:12 +01:00
jsteube
54ad27da7d Session Management: Automatically set dedicated session names for non-cracking parameters, for example: --stdout 2017-03-02 19:57:34 +01:00
jsteube
5f7c3590ba Status screen: Do not try to clear prompt in --quiet mode 2017-03-01 21:42:17 +01:00
mhasbini
45cf65fdbd update changelog message 2017-03-01 21:09:17 +02:00
mhasbini
a415ec7afb fix rule 'i' in host mode in case pos = length 2017-03-01 21:05:27 +02:00
philsmd
22d1129818
added -m 12001 = Atlassian (PBKDF2-HMAC-SHA1) #611 2017-02-28 14:22:03 +01:00
jsteube
d431874cef Merge branch 'master' of https://github.com/hashcat/hashcat 2017-02-27 14:47:49 +01:00
jsteube
708adbc54b Fixed cracking of Plaintext (-m 99999) in case MD4 was used in a previous session 2017-02-27 14:47:41 +01:00
Jens Steube
e82ce9243d Added support for filtering hccapx message pairs using --hccapx-message-pair 2017-02-27 12:09:49 +01:00
Jens Steube
0fc949ef69 Fixed cracking of PeopleSoft Token if salt length + password length is >= 128 byte 2017-02-27 11:06:53 +01:00
philsmd
86ea878755
tests: fixed timeout values 2017-02-26 18:19:16 +01:00
jsteube
c094f3b511 Workaround added for NVidia OpenCL runtime: RACF kernel requires EBCDIC lookup to be done on shared memory 2017-02-25 17:36:29 +01:00
jsteube
aa5ed1ca89 OpenCL Runtime: Added a warning about using Mesa OpenCL runtime 2017-02-23 11:48:21 +01:00
jsteube
62bc8689b7 Mask Checks: Added integer overflow detection for a keyspace of a mask provided by user 2017-02-22 12:28:23 +01:00
jsteube
5f58a25dcc Building: Removed compiler option -march=native as this created problems for maintainers on various distributions 2017-02-20 18:45:04 +01:00
jsteube
c3251cebd8 Hardware Management: Bring back kernel exec timeout detection for NVidia on user request 2017-02-20 18:38:31 +01:00
Jens Steube
dd55c1eb66 WPA: Changed format for outfile and potfile from essid:mac1:mac2 to hash:mac_ap:mac_sta:essid
Fixes https://github.com/hashcat/hashcat/issues/1113
2017-02-19 14:45:27 +01:00
jsteube
778f568d91 Prepare for v3.40 release 2017-02-17 18:28:16 +01:00
jsteube
bbb4c74e85 OpenCL Kernel: Remove "static" keyword from function declarations; Causes older Intel OpenCL runtimes to fail compiling 2017-02-17 10:11:05 +01:00
jsteube
b0be93c34e Fixed changes.txt ordering 2017-02-15 19:58:21 +01:00
jsteube
0aca372ce8 Hardware Monitor: In case NVML initialization failed, do not try to initialiaze NVAPI or XNVCTRL because they both depend on NVML 2017-02-15 19:43:22 +01:00
jsteube
4b3d39623c Restore: Add some checks on the rd->cwd variable in restore case 2017-02-14 20:05:44 +01:00
philsmd
49ba6cb05d
-m 13100 = Kerberos 5 TGS-REP: parser failed to correctly verify the hash 2017-02-14 17:45:05 +01:00
philsmd
6915bfad8b
keyfiles: for VeraCrypt/TrueCrypt keyfiles we need to free the memory in case of errors 2017-02-14 17:32:39 +01:00
philsmd
23368c7304
fix: added additional fclose () whenever an hash parsing error occurs 2017-02-14 17:22:52 +01:00
jsteube
cc223123e9 OpenCL Kernel: Refactored read_kernel_binary to load only a single kernel for a single device 2017-02-14 17:08:08 +01:00
Jens Steube
7209b0562a Merge pull request #1075 from philsmd/master
mp: memory checks added to avoid leaks
2017-02-14 16:51:29 +01:00
jsteube
302f528796 OpenCL Kernel: Move kernel binary buffer from heap to stack memory 2017-02-14 16:51:03 +01:00
philsmd
437289c41e
mp: memory checks added to avoid leaks 2017-02-14 16:46:41 +01:00
jsteube
c859cff25c File Reads: Fixed memory leak in case outfile or hashfile was not accessible 2017-02-14 16:25:38 +01:00
Jens Steube
ddace83b41 Merge pull request #1072 from philsmd/master
-m 11400 = SIP digest authentication (MD5): added bound checks in parser
2017-02-14 16:01:51 +01:00
jsteube
ee96546cd7 Fix changes.txt 2017-02-14 16:01:04 +01:00
jsteube
9b1ce502b8 Hardware Monitor: Fixed several memory leaks in case hash-file writing (in case of --remove) failed 2017-02-14 16:00:10 +01:00
philsmd
553eddad49
-m 11400 = SIP digest authentication (MD5): added bound checks in parser 2017-02-14 15:58:44 +01:00
jsteube
a9b0f1a559 Wordlists: Fixed memory leak in case access a file in a wordlist folder fails 2017-02-14 15:47:41 +01:00
jsteube
1fc24cbcd3 Mask Increment: Fixed memory leak in case mask_append() fails 2017-02-14 15:38:57 +01:00
jsteube
1f622abb9a Fix changes.txt 2017-02-14 15:20:14 +01:00
jsteube
0531d41c05 Merge branch 'master' of https://github.com/hashcat/hashcat 2017-02-14 15:19:39 +01:00
jsteube
53d6808794 Fixed pointer to local outside scope when using not specifying --markov-hcstat 2017-02-14 15:19:05 +01:00
philsmd
c440dec867
file locking: check return value of fcntl () 2017-02-14 15:15:50 +01:00
philsmd
d92f8b1d82
memory: we should free this memory in case of error in folder.c 2017-02-14 14:45:27 +01:00
jsteube
dc2ecc9dae Fixed pointer to local outside scope when using -j or -k 2017-02-14 14:27:08 +01:00
philsmd
b285c04a21
added additional memory leak checks within the rule engine 2017-02-14 14:21:27 +01:00
jsteube
291c1bcdd2 Dispatcher: Fixed several memory leaks when an OpenCL error occurs 2017-02-14 14:02:18 +01:00
philsmd
c1b89fb2ac
added return code check whenever fstat () was called 2017-02-14 13:57:24 +01:00
philsmd
d1e3d64440
outfile check: out_files variable should be freed (also) in case of an error 2017-02-14 13:44:31 +01:00
jsteube
521c819842 CPU Affinity: Fixed memory leak when invalid cpu Id was specified 2017-02-14 12:42:22 +01:00
philsmd
6ef802a148
OpenCL platforms/devices: Fixed several memory leaks when a platform/device could not be used/initialized 2017-02-14 11:52:53 +01:00
jsteube
15f9a3ad83 Hardware Monitor: Fixed several memory leaks when no hardware monitor sensor is found 2017-02-14 11:48:18 +01:00
jsteube
dc4f96f42e Fixed string not null terminated when reading maskfiles 2017-02-14 11:14:32 +01:00
jsteube
8ebd5188eb CID 1402518 (#1 of 1): String not null terminated 2017-02-14 10:45:50 +01:00
jsteube
63b7321be2 Fixed WPA/WPA2 cracking in case eapol frame is >= 248 byte 2017-02-13 18:31:15 +01:00
jsteube
9c5cfd17ac Added support for automatic merge of LM halfes when --show and --left is used
Fixes https://github.com/hashcat/hashcat/issues/1034
2017-02-13 16:46:37 +01:00
jsteube
366f5133ac Workaround added for AMDGPU-Pro OpenCL runtime: RAR3 kernel require a volatile variable to work correctly 2017-02-13 11:36:16 +01:00
philsmd
227c0be95e
resolves #1018: added -m 3910 = md5(md5($pass).md5($salt)) 2017-02-12 18:12:17 +01:00
jsteube
8329704977 Commandline: Do some checks related to custom-charset options if user specifies them
Fixes https://github.com/hashcat/hashcat/issues/1040
2017-02-10 09:08:19 +01:00
Jens Steube
79513ce226 Building: Replaced linking of CRT_glob.o with the use of int _dowildcard 2017-02-09 10:42:35 +01:00
jsteube
7c5c7047ce Add missing changes log from previous merge 2017-02-08 10:24:36 +01:00
Jens Steube
9005b66626 Fixed clEnqueueNDRangeKernel(): CL_UNKNOWN_ERROR caused by an invalid work-item count during weak-hash-check 2017-02-07 17:50:02 +01:00
Jens Steube
778b64b680 Update changes 2017-02-07 17:25:29 +01:00
Jens Steube
65d5921eda Merge pull request #1020 from neheb/master
Restore strerror as %m is unsupported by the BSDs
2017-02-06 19:37:05 +01:00
jsteube
717da7f4f2 Added support for loading hccapx files 2017-02-06 17:03:42 +01:00
Rosen Penev
2a2bd0e2b1
Restore strerror as %m is unsupported by the BSDs
The BSDs just print m instead of the actual error message. Benefit
is not worth the cost.
2017-02-03 17:53:50 -08:00
philsmd
15a9644f2a
fixes #943: added -m 15000 = FileZilla Server >= 0.9.55 2017-02-03 00:07:31 +01:00
philsmd
fe6309caa7
fixes #398: added -m 4110 md5($salt.md5($pass.$salt)) 2017-02-01 19:56:49 +01:00
philsmd
8e689058d0
#398: add -m 4010 = md5($salt.md5($salt.$pass)) 2017-02-01 16:56:14 +01:00
jsteube
2135ea3329 WPA: Changed format for outfile and potfile from essid:mac1:mac2 to hash:essid
WPA: Changed format for outfile_check from essid:mac1:mac2 to hash
2017-02-01 12:25:21 +01:00
philsmd
dfd4084b3b
fixes #963: show all user's hashes if --show/--left was specified 2017-02-01 09:00:16 +01:00
philsmd
ed74ce1aca
fixes #928: new mode -m 1411 = SSHA-256(Base64), LDAP {SSHA256} 2017-01-31 12:40:43 +01:00
jsteube
e0c3f447da Added hash-mode 4520 = sha1($salt.sha1($pass))
Added hash-mode  4522 = PunBB
OpenCL Kernel: Renumbered hash-mode 7600 to 4521
The mode 4520 is the first to support salt length up to 64
2017-01-31 11:44:58 +01:00
philsmd
96e312ccb6
fixes #537: added -m 7000 = Fortigate (FortiOS) 2017-01-30 21:18:37 +01:00
jsteube
ebcb6a050c Wordlists: Disable dictstat handling for hash-mode 3000 as it virtually creates words in the wordlist which is not the case for other modes 2017-01-30 10:45:56 +01:00
jsteube
1b8c2a29f1 Added hash-mode 14900 = Skip32 2017-01-29 16:43:08 +01:00
jsteube
0309afc273 OpenCL Device: Do a check on available constant memory size and abort if it's less than 64kB 2017-01-29 10:11:13 +01:00
jsteube
34aac18faf OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.60 is detected which is known to be broken 2017-01-27 20:40:55 +01:00
jsteube
ac5d274845 Sessions: Move out handling of multiple instance from restore file into separate pidfile 2017-01-27 16:29:18 +01:00
jsteube
84fcd8289f Files: Do several file and folder checks on startup rather than when they are actually used to avoid related error after eventual intense operations 2017-01-27 14:50:39 +01:00
jsteube
17548d3ee8 Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat() 2017-01-27 11:46:45 +01:00
jsteube
b7b2f1a79c Building: Add SHARED variable to Makefile to choose if hashcat is build as static or shared binary (using libhashcat.so/hashcat.dll) 2017-01-27 09:58:01 +01:00
Jens Steube
07c89833c9 Added hash-mode 14800 = iTunes Backup >= 10.0 2017-01-26 21:16:29 +01:00
philsmd
9327475b41 added -m 14700 = iTunes Backup < 10.0 2017-01-25 19:07:07 +01:00
philsmd
d143ae25ab
docs update: mention the event_log () changes within the technical section 2017-01-24 17:52:32 +01:00
jsteube
df0c61bf79 - Building: Split native compilation into two dedicated targets: "hashcat_static" and "hashcat_shared", default is "hashcat_static"
- Building: Removed the use of RPATH on linker level
Fixes https://github.com/hashcat/hashcat/issues/956
2017-01-24 16:07:59 +01:00
philsmd
6fe0173a79
#965: new hook function to support LZMA1/LZMA2 decompression for -m 11600 = 7-Zip 2017-01-24 10:28:35 +01:00
jsteube
5ea24d9bca Fixed duplicate detection for WPA handshakes with the same ESSID
https://github.com/hashcat/hashcat/issues/955
2017-01-23 17:54:56 +01:00
jsteube
edb7ae5658 Fixed rule 'O' (RULE_OP_MANGLE_OMIT) in host mode in case the offset + length parameter equals the length of the input word
Fixes https://github.com/hashcat/hashcat/issues/969
2017-01-23 14:19:37 +01:00
jsteube
dc843acf63 Fixed use of option --keyspace in combination with -m 2500 (WPA)
Fixes https://github.com/hashcat/hashcat/issues/971
2017-01-23 13:58:49 +01:00
Jens Steube
5c5f8da9b1 Fixed DEScrypt cracking in BF mode in case the hashlist contains more than 16 times the same salt
Fixes https://github.com/hashcat/hashcat/issues/972
2017-01-23 13:40:16 +01:00
philsmd
b1a2c4f0f6
fixes #980: combinator attack needs special formula for max pass length 2017-01-21 16:59:07 +01:00
jsteube
8257883ec1 Added hash-mode 14600 = LUKS 2017-01-21 15:37:44 +01:00
philsmd
98fee66486
-m 11600 = 7-Zip: added support for parsing $7z$1... and $7z$2... hashes
Attention: the LZMA/LZMA2 decompression step still needs to be implemented (e.g. via a hook)
2017-01-12 20:28:16 +01:00
jsteube
a1c13778c7 Workaround added for AMDGPU-Pro OpenCL runtime: AES encrypt and decrypt Invertkey function was calculated wrong in certain cases 2017-01-11 16:04:05 +01:00
jsteube
c7999c66bc Returncode: Added dedicated returncode (see docs/status_codes.txt) for shutdowns caused by --runtime and checkpoint keypress 2017-01-06 08:45:40 +01:00
jsteube
0fe6db6839 Sanity: Added sanity check to disallow --loopback in combination with --runtime 2017-01-05 22:46:34 +01:00