1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 08:38:09 +00:00
Commit Graph

454 Commits

Author SHA1 Message Date
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
jsteube
038b915e2d Fixed runtime limit: No longer required so sample startup time after refactorization 2017-01-05 22:34:47 +01:00
jsteube
992bc01f3c Fixed parsing of hashes in case the last line did not include a linefeed character 2017-01-05 21:58:24 +01:00
Jens Steube
e3ad2f9b7d Fixed buffer overflow in plaintext parsing code: Leading to segfault 2017-01-05 17:39:14 +01:00
jsteube
b3067680a7 If the user specifies a folder to scan for wordlists instead of directly a wordlist, then ignore the hidden files 2017-01-05 16:15:12 +01:00
jsteube
ad42dd59ac Fixed hash-mode 11400 = SIP digest authentication (MD5): Cracking of hashes which did not include *auth* or *auth-int* was broken 2017-01-05 16:14:12 +01:00
jsteube
78d73e64fe Workaround added for Intel OpenCL runtime: GPU support is broken, skip the device unless user forces to enable it 2017-01-04 11:23:57 +01:00
jsteube
33aeae6090 For CYGWIN prefer to use "opencl.dll" (installed by drivers) instead of optional "cygOpenCL-1.dll" 2017-01-04 10:59:21 +01:00
jsteube
6d8e938549 Added production flag in Makefile to disable all the GCC compiler options needed only for development 2017-01-04 10:33:20 +01:00
jsteube
1f756bf752 Include passwords for removed hashes present in the potfile to next loopback iteration 2017-01-03 19:21:27 +01:00
jsteube
1f266fb0f2 Added new event EVENT_WEAK_HASH_ALL_CRACKED if all hashes have been cracked during weak hash check 2017-01-03 09:56:40 +01:00
jsteube
e1b5de12d5 Fixed potfile loading to accept blank passwords 2017-01-03 09:39:13 +01:00
jsteube
dca74af23f Prepare for v3.30 release 2017-01-02 10:14:07 +01:00
jsteube
a3159625b3 Update changes.txt regarding Iris Pro changes 2016-12-31 15:15:43 +01:00
Jens Steube
9d98d696c0 Merge branch 'master' of https://github.com/hashcat/hashcat 2016-12-31 15:11:08 +01:00
Jens Steube
feb6d4f740 Fixed buffer overflow in status screen display in case of long non-utf8 string 2016-12-31 15:10:53 +01:00
jsteube
a4f40ac226 Added old potfile detection, show warning message 2016-12-31 13:52:35 +01:00
jsteube
8a47c32537 Fixed display screen to show input queue when using custom charset or rules 2016-12-31 13:37:26 +01:00
Jens Steube
b0ff13b496 Truecrypt/Veracrypt: Use CRC32 to verify headers instead of fuzzy logic, greatly reduces false positives from 18:2^48 to 3:2^64 2016-12-31 02:10:10 +01:00
jsteube
9f64f9e705 Removed *throttled* message from NVML as this created more confusion than it helped 2016-12-29 19:07:05 +01:00
jsteube
4a81601c0a Reenabled automatic status screen display in case of stdin used 2016-12-29 13:05:29 +01:00
jsteube
07078e8c14 Added hashcat32.dll and hashcat64.dll makefile targets for building hashcat windows libraries 2016-12-28 14:05:26 +01:00
jsteube
45aae6a178 Switched matching ADL device with OpenCL device by using PCI bus, device and function 2016-12-28 10:51:39 +01:00
Jens Steube
f22836b35e Switched matching xnvctrl device with OpenCL device by using PCI bus, device and function 2016-12-27 19:20:27 +01:00
Jens Steube
c77c9ff72e Switched matching NvAPI device with OpenCL device by using PCI bus, device and function 2016-12-27 17:41:29 +01:00
Jens Steube
2c82e53d38 Switched matching NVML device with OpenCL device by using PCI bus, device and function 2016-12-27 14:44:12 +01:00
jsteube
fa5b5d298d Hash Parser: Improved error detection of invalid hex characters where hex character are expected 2016-12-23 14:57:46 +01:00
jsteube
72af615e8b WPA cracking: Reuse PBKDF2 intermediate keys if duplicate essid is detected 2016-12-22 02:17:49 +01:00
jsteube
e4ba40dd7e OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.50 is detected which is known to be broken 2016-12-18 22:35:23 +01:00
jsteube
24a3aff5ea Fixed mask length check in hybrid attack-modes: Do not include hash-mode dependant mask length checks 2016-12-18 16:01:23 +01:00
jsteube
4b9cb7bbcf Fixed hex output of plaintext in case --outfile-format 4, 5, 6 or 7 was used
Fixes https://github.com/hashcat/hashcat/issues/922
2016-12-18 13:11:54 +01:00
Jens Steube
cafd4b50e7 Merge pull request #919 from matrix/master
Add support for SHA-224
2016-12-17 20:03:50 +01:00
Gabriele Gristina
496c749b2b Add missings requirements for SHA-224 support 2016-12-17 19:09:52 +01:00
jsteube
767ad440b2 Fixed custom char parsing code in maskfiles in --increment mode: Custom charset wasn't used 2016-12-17 14:09:58 +01:00
jsteube
72599fd109 Fixed kernel loops in leading to slower performance in --increment mode 2016-12-15 13:19:10 +01:00
jsteube
f424650c3b Fixed infinite loop when using --loopback in case all hashes have been cracked
Fixes https://github.com/hashcat/hashcat/issues/917
2016-12-10 09:37:59 +01:00
jsteube
ec5610271a New option --progress-only: Quickly provides ideal progress step size and time to process it per device based on the user hashes and selected options, then quit 2016-12-09 23:44:43 +01:00
jsteube
f9ba94954b Added sanity check to disallow --speed-only in combination with -i 2016-12-09 15:26:35 +01:00
jsteube
58f458f489 Fix notes in changes.txt about potfile reading performance 2016-12-09 14:55:28 +01:00
jsteube
1342cf2ce3 Use $HEX[...] in case the password includes the separater character, increases potfile reading performance 2016-12-09 14:54:13 +01:00
jsteube
1be98add82 Add missing note about changed potfile suffix in v3.10 2016-12-09 13:42:52 +01:00
jsteube
0d160ac537 Update fixed problems in changes.txt so far, prepare for eventual v3.21 bugfix release 2016-12-03 13:13:46 +01:00
jsteube
cc1dca7a2b Fixed double free (actually, double fclose()) in opencl.c 2016-12-02 20:39:42 +01:00
jsteube
1eb7987081 Add a note about SAP CODVN B (BCODE) and SAP CODVN F/G (PASSCODE) optimization 2016-12-01 18:21:06 +01:00
jsteube
daddffa3dc Status view: Show core-clock, memory-clock and execution time in benchmark-mode in case --machine-readable is activated 2016-11-30 15:36:51 +01:00
jsteube
3c40b88eff Status: Do not show Recovered/Time as floats but as integers to reduce over-information 2016-11-30 11:12:56 +01:00
jsteube
813911788a Status: Do not show Recovered/Time when cracking < 1000 hashes 2016-11-30 11:12:30 +01:00
Christoph Heuwieser
30a710b69c fixed spelling and grammar 2016-11-25 19:21:35 +01:00
jsteube
ac8c4d946a Fix benchmark of extreme slow hashes, updated changes.txt 2016-11-25 16:27:22 +01:00
jsteube
8a8d2065c1 Add a note in changes.txt about changed $HEX[] behaviour 2016-11-24 18:16:12 +01:00
jsteube
90f0aec707 Fixed a bug in hash-mode 11600 = (7-Zip) producing clEnqueueReadBuffer(): CL_INVALID_VALUE depending on input hash 2016-11-24 18:13:47 +01:00
Jens Steube
3240845cf3 Add some note about improved NVIDIA cracking performance 2016-11-17 10:41:38 +01:00
jsteube
4716f9c713 Fix some infos in changes.txt 2016-11-16 23:25:50 +01:00
jsteube
8805ca169b Prepare for v3.20 release 2016-11-14 15:07:58 +01:00
jsteube
710d2e9bdb Bug was in v3.10 as well so add a note 2016-11-14 14:09:10 +01:00
jsteube
45ffc764ed Fixed a bug in rule generator code when using the memory copy function 2016-11-12 15:34:17 +01:00
jsteube
5835f0991f Improved NSEC3 hashes parsing error detection 2016-11-12 12:50:02 +01:00
jsteube
d0f7fee029 Fixed a bug when loading custom charset from file 2016-11-12 12:16:41 +01:00
jsteube
2bda020c83 Added new hash-mode 14400 = SHA1(CX)
Details: https://github.com/hashcat/hashcat/issues/554
2016-11-12 11:39:38 +01:00
Jens Steube
34e1ef6370 Improved default hashcat.hcstat 2016-11-11 22:34:10 +01:00
Jens Steube
0d949eea13 Fix some typos 2016-11-11 14:47:20 +01:00
jsteube
80a4f234f5 Update OpenCL runtime- and driver-requirements
Update changes.txt
2016-11-11 13:10:24 +01:00
jsteube
1edc129f8a Added core-clock and memory-clock to output in benchmark mode with --machine-readable enabled 2016-11-10 17:50:29 +01:00
jsteube
12ea82b821 Added support for --powertune-enable for AMD-GPU-PRO driver 2016-11-10 17:05:26 +01:00
Jens Steube
779662ea23 Fixed a bug when cracking a large salted hashlist: If a word is rejected this produces so high CPU load that cracking process doesn't start 2016-11-09 02:02:11 +01:00
jsteube
f3626fa082 Added new hash-mode 99999 = Plaintext 2016-11-03 19:02:55 +01:00
jsteube
6d2ce0d71a Added option --keep-guessing to continue cracking hashes even after they have been cracked.
It will be useful if there are multiple collisions and we want a specific one.
This one implements https://github.com/hashcat/hashcat/issues/493
2016-10-31 10:09:04 +01:00
jsteube
313bdd5e5b Added a note 2016-10-21 16:24:08 +02:00
jsteube
bb98a8c8e1 Update changes.txt 2016-10-16 23:32:30 +02:00
jsteube
554c2f9e28 Add notes to changes 2016-10-14 21:48:10 +02:00
jsteube
eeb8210951 Added the current first and last password candidate test queued for execution per device on status view 2016-10-04 18:30:00 +02:00
jsteube
d3d9b4e679 Reduce max. number of allowed function calls per rule from 256 to 32 to save GPU memory 2016-09-22 22:54:20 +02:00
jsteube
e9d6d06300 Add a note in changes.txt for last change 2016-09-14 17:51:43 +02:00
jsteube
3daf0af480 Added docs/credits.txt
Added docs/team.txt
2016-09-11 22:20:15 +02:00
jsteube
c8858cd969 Abort session after NUM seconds of --runtime but do not count time in pause mode
From https://github.com/hashcat/hashcat/issues/472
2016-09-03 15:27:25 +02:00
jsteube
200938ca42 Replaced uints with enums types
Based on https://github.com/hashcat/hashcat/pull/467
2016-09-02 11:14:02 +02:00
jsteube
caf2a7da6d Use .gitmodules to handle OpenCL headers depency
Based on https://github.com/hashcat/hashcat/pull/467
2016-09-02 10:22:30 +02:00
Jens Steube
a289c37ecf Allow loading of bcrypt hashes with signature $2b$ (February 2014) 2016-09-02 10:03:22 +02:00
jsteube
71a8459d85 Two new modes added:
* Added new hash-mode 14000 = DES (PT = $salt, key = $pass)
* Added new hash-mode 14100 = 3DES (PT = $salt, key = $pass)
This patch initial was created out of this PR: https://github.com/hashcat/hashcat/pull/452 which is now no longer required
I've replace the -a 3 kernel with a bitsliced version which is around 10 times faster
I've also added test.sh and test.pl patches, but some of the test scripts need to be fixed
2016-08-30 17:44:14 +02:00
Jens Steube
7bac5dd3af Added some missing description for a workaround 2016-08-19 10:33:03 +02:00
Jens Steube
687b4a816d Prepare v3.10 release 2016-08-18 21:03:46 +02:00
philsmd
665e960093
sanity check: do not allow mask files or increment w/ --skip/--limit 2016-08-18 14:39:07 +02:00
philsmd
ed8315ba21
add sanity check to disallow --show and --outfile-autohex-disable 2016-08-18 13:48:59 +02:00
philsmd
0413806a04
skip periodic status updates in stdin+stdout mode to prevent output pollution 2016-08-18 12:05:45 +02:00
philsmd
14677e915f new feature: allow -o to be used in stdout mode 2016-08-18 11:04:23 +02:00
Michael Sprecher
602e392b80
Fixed a bug where some kernels used COMPARE_M_SIMD instead of COMPARE_S_SIMD in singlehash mode 2016-08-17 20:23:25 +02:00
Jens Steube
bdecbbee1a Merge pull request #446 from usernamestaken/master
CRAM_MD5 throws salt length exception when the issue is in the hash
2016-08-17 16:41:15 +02:00
radix
cadafefcc0
update changes.txt 2016-08-17 00:35:40 -05:00
Michael Sprecher
7593db9483
Added new hash-mode 13900 = OpenCart 2016-08-02 15:00:58 +02:00
jsteube
8acf5b3879 Add support for @ rule (RULE_OP_MANGLE_PURGECHAR) to use on GPU 2016-07-25 22:54:07 +02:00
jsteube
0154d636bf Slightly increased NVidias rule-processing performance by using generic instructions instead of byte_perm() 2016-07-25 21:51:04 +02:00
jsteube
d3a95a67ae Fixed a bug where hashcat did not take into account how long it takes to prepare a session when auto-aborting with --runtime is in use 2016-07-24 22:26:40 +02:00
jsteube
c837df09ae Workaround for OpenCL runtimes which do accept -I parameter in the OpenCL kernel build options, but do not allow quotes 2016-07-21 10:06:31 +02:00
jsteube
2b7e36b042 Output cracked hashes on Windows using \r\n and not \n
Replace RegGetValue() with RegQueryValueEx() to enable Windows XP 32 bit compatibility
This fixes https://github.com/hashcat/hashcat/issues/418
2016-07-17 20:32:47 +02:00
Jens Steube
62390b9cfa Fixed a bug where hashcat reported an invalid password for a zero-length password in LM
Fixes https://github.com/hashcat/hashcat/issues/434
2016-07-15 13:30:25 +02:00
jsteube
e56a4e9c60 Workaround OpenCL runtimes that do not accept -I parameter in the OpenCL kernel build options even if this is an OpenCL standard option 2016-07-11 23:45:25 +02:00
jsteube
e2dbaa6efa Do not error and exit if an OpenCL platform has no devices, just print a warning and continue with the next platform 2016-07-11 17:15:57 +02:00
Jens Steube
6ba0eb8b39 Get rid of exit() calls in OpenCL wrapper library with the goal to have a better control which error can be ignored under special circumstances
Note, not all return codes from some of the subfunctions are uset yet, it would be too much changes at once
This is a preparation for https://github.com/hashcat/hashcat/issues/416
2016-07-10 13:23:06 +02:00
jsteube
3fa2d10914 Allow the use of enc_id == 0 in hash-mode 10600 and 10700 as it takes no part in the actual computation
Fixes https://github.com/hashcat/hashcat/issues/423
2016-07-09 14:35:38 +02:00
jsteube
49f693a1c9 Replace LINUX macro with compiler predefined macro __linux__ 2016-07-08 23:23:16 +02:00
jsteube
96f2ade4bb Replace DARWIN macro with __APPLE__
As discussed on https://github.com/hashcat/hashcat/pull/409
2016-07-08 23:14:57 +02:00
jsteube
2043338859 Rewrite some code to workaround strict aliasing rule violation for older compilers
Rewrite some variable initializers on older compilers
2016-07-08 22:57:27 +02:00
Jens Steube
5909bbb7b7 Make use of cl_context_properties[] to clCreateContext(), even if OpenCL specification allow the use of NULL, some runtimes fail without 2016-07-08 14:38:57 +02:00
philsmd
a5700bf4ef
fixed problem where hashcat did not remove WPA/WPA2 hashes found in potfile 2016-07-06 10:05:34 +02:00
philsmd
f326c5de4c Merge remote-tracking branch 'upstream/master'
Conflicts:
	docs/changes.txt
2016-07-05 15:13:45 +02:00
philsmd
067c0b8e83
this fixes #400: --loopback was not working 2016-07-05 15:00:26 +02:00
jsteube
fc2b20b273 Fixed a bug where hashcat crashes in case of a scrypt P setting > 1 2016-07-04 21:13:23 +02:00
jsteube
b58f7a4675 Fixed a bug where hashcat crashes for accessing deallocated buffer if user spams "s" shortly before hashcat shuts down 2016-07-01 13:04:50 +02:00
jsteube
ad00844b26 The Time.Estimated attribute in status display should also show --runtime limit if user set it
This implements https://github.com/hashcat/hashcat/issues/383
2016-07-01 13:01:02 +02:00
jsteube
7b84980e4b Fixed a bug where hashcat did not check the return of realpath() and crashes uncontrolled if the path does not exist
This fixes https://github.com/hashcat/hashcat/issues/399
2016-07-01 11:24:02 +02:00
Jens Steube
3260efbb01 Update changes.txt 2016-06-30 08:48:23 +02:00
jsteube
67a8d97675 Remove old beta notes 2016-06-29 17:36:38 +02:00
jsteube
e8aefb412c Reenable --gpu-temp-retain (65c by default), now that we have fan set support on Linux and Windows 2016-06-18 21:29:24 +02:00
jsteube
2bd49e6720 Added --gpu-temp-retain support for windows through nvapi 2016-06-18 18:21:40 +02:00
jsteube
9a970c0955 Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU 2016-06-18 10:59:58 +02:00
jsteube
5542e46022 Added option --stdout to print candidates instead of trying to crack a hash 2016-06-14 21:49:33 +02:00
jsteube
b9eefd9b20 Added new hash-mode 13800 = Windows 8+ phone PIN/Password 2016-06-10 09:46:41 +02:00
jsteube
d329451cc1 Here it is: --powertune-enable for nvidia -- Works on both linux and windows 2016-06-01 19:01:44 +02:00
jsteube
19e36694da Added support for --gpu-temp-retain for nvidia devices on windows
Disabled retain support by default, you can reactive it using --gpu-temp-retain
Completely get rid of HAVE_ADL, HAVE_NVML and HAVE_NVAPI in sources
2016-05-30 00:05:46 +02:00
Jens Steube
e97fa06a7a Added current engine clock and current memory clock to the status display (ADL only atm)
Automatically enable AMD powertune in benchmark-mode
2016-05-28 16:32:45 +02:00
philsmd
15c0995f4e
docs: added more notes about --machine-readable and replaced all changes about --status-automat 2016-05-28 09:42:41 +02:00
radix
2b2a0c585e
Change --status-automate to --machine-readble. The former didn't really illustrate the point of the command though the functionallity is great to have. Updated ASCII tables around options output. 2016-05-27 03:50:52 -05:00
jsteube
3a42ab3577 Fix changes 2016-05-22 22:25:15 +02:00
Jens Steube
5d5d1a5843 More VeraCrypt stuff; SHA256 kernels missing and --veracrypt-pim missing 2016-05-19 22:37:43 +02:00
Jens Steube
567fcfe176 Enabled support of --status-automat in combination with --benchmark for automated benchmark processing 2016-05-17 10:17:00 +02:00
Jens Steube
c78d7568e6 Add some missing changes 2016-05-13 15:31:58 +02:00
Jens Steube
7a4ab2b42d Prepare for WinZip integration 2016-05-12 09:26:54 +02:00
jsteube
b5a71dca58 Add more informative help text in case of faulty or no OpenCL installation 2016-05-11 11:38:52 +02:00
jsteube
e47030ed7d Prepare to rename project into hashcat
This release markes the fusion of "hashcat" and "oclHashcat" into "hashcat".
It combines all features of all hashcat projects in one project.
2016-05-10 19:07:07 +02:00
jsteube
16af77af18 Extended password length up to 32 for 7zip 2016-05-08 14:39:44 +02:00
Jens Steube
72e3821a4c Simplify auto-tuning and benchmark routines
Decrease the time it takes to run a benchmark
Removed --benchmark-repeat, it creates no advantage
Fix some wording related to drivers
Dropped special 64-bit rotate() handling for NV
Cleanup SHA384
Cleanup try_run()
2016-05-05 23:21:15 +02:00
Jens Steube
0b3743ce94 - Added inline declaration to functions from simd.c, common.c, rp.c and types_ocl.c to increase performance
- Dropped static declaration from functions in all kernel to achieve OpenCL 1.1 compatibility
- Added -cl-std=CL1.1 to all kernel build options
- Created environment variable to inform NVidia OpenCL runtime to not create its own kernel cache
- Created environment variable to inform pocl OpenCL runtime to not create its own kernel cache
2016-05-01 23:15:26 +02:00
Jens Steube
c297678536 Restrict loopback option to straight attack-mode 2016-05-01 20:52:20 +02:00
Jens Steube
ef2aba2e44 Update changes.txt; New layout 2016-04-29 23:19:10 +02:00
Jens Steube
9294aaccae Merge pull request #311 from fgaudreault/master
Adding parser and basic kernels for -m 13500
2016-04-26 20:12:33 +02:00
Francois Gaudreault
5218a6d251 Fix Changes 2016-04-22 19:40:55 -04:00
Francois Gaudreault
f76b9d0013 Adding Tests, fix one compile warning 2016-04-22 19:36:07 -04:00
Jens Steube
aae2f97f2b Add a note about duplicate rules removal 2016-04-22 11:35:00 +02:00
Jens Steube
13b2758084 Added parameter --potfile-path to override default potfile path 2016-04-17 19:14:55 +02:00
Jens Steube
8d34f3f266 Add note about fixed issue #288 in changes.txt 2016-04-17 11:02:31 +02:00
Michael Sprecher
0dcb762a8e
Added new hash mode -m 125 = ArubaOS 2016-04-10 00:58:28 +02:00
Jens Steube
67c1500cc2 Update CHANGES 2016-04-03 15:48:56 +02:00
philsmd
b3dfd7057e fixed -m 10200 = Cram MD5 parser: check for NULL pointers ASAP, check base64 input length 2016-04-02 18:05:08 +02:00
Fist0urs
52b17a602f New format -m 13400, Keepass 1 (AES/Twofish) and Keepass 2 (AES) 2016-04-02 14:45:05 +02:00
philsmd
9b75b245d5 fixed base64_decode () input length validation for -m 8900 2016-03-29 09:49:05 +02:00
philsmd
9a135de1c1 fixed problem with -m 5600 = NetNTLMv2 parser 2016-03-21 18:51:21 +01:00
philsmd
e7e5333d23 fixed -m 5500 parser, avoid strange crashes 2016-03-21 09:11:10 +01:00
philsmd
e179c53f19 fixed some parser checks to avoid crashes (-m 5300/5400) 2016-03-20 19:24:21 +01:00
philsmd
3c2f8fb88b added some checks to the -m 1711 = SSHA-512(Base64), LDAP {SSHA512} parser 2016-03-15 16:28:57 +01:00
philsmd
bc965c9c9b fixed checks in -m 500 parser 2016-03-13 15:57:53 +01:00
philsmd
b755e5b6f3 added some checks to the -m 111 = nsldaps, SSHA-1(Base64), Netscape LDAP SSHA parser 2016-03-11 17:55:19 +01:00
Fist0urs
b0f1cb8a98 New format -m 13300 AxCrypt in memory SHA1 2016-03-02 14:35:10 +01:00
Fist0urs
ad17fba9b6 New format -m 13200 AxCrypt 2016-03-01 19:11:13 +01:00
magnum
a5be8a75ed Allow and support vector-width 16, which is current maximum for
OpenCL. Closes #226.
2016-02-18 08:51:45 +01:00
Jens Steube
e6900d82f6 Add missing changes entry for -m 13100 2016-02-17 08:50:12 +01:00
Jens Steube
a5603086d5 Add autotune engine to changes 2016-02-15 15:09:22 +01:00
Jens Steube
c0293928dd Prepare for better autotuning capabilities 2016-02-13 16:07:58 +01:00
Jens Steube
8d85b7539d Fixed a bug in line counter: Conditional jump or move depends on uninitialised value 2016-02-10 16:56:51 +01:00
Jens Steube
9fc360e39d Added the execution time of the running kernel to the status display 2016-02-09 20:01:50 +01:00
Jens Steube
56f1cee973 Updated docs 2016-02-04 10:59:13 +01:00
Jens Steube
bfc4495bd3 Expanded version information as discussed in https://github.com/hashcat/oclHashcat/issues/138 2016-01-21 10:17:22 +01:00
Jens Steube
a62b7ed06e Upgrade kernel to support dynamic local work sizes 2016-01-19 16:06:03 +01:00
jsteube
e3c0c80b6f Prepare new SIMD code for kernel, -m 0, 10, 20, 1000 should work in -a 3 mode and other hopefully stay unaffected 2016-01-17 22:17:50 +01:00
jsteube
471c10c4f7 Make sure to spawn threads for all devices, even skipped, and then instantly return 2016-01-16 15:12:42 +01:00
philsmd
cbe6be9246 set default iteration count for -m 2100 = DCC2 to 10240 2016-01-14 00:14:43 +01:00
Jens Steube
49d0767aa8 Run weak-hash checks only in straight-attack mode, this greatly reduces code complexity 2016-01-13 22:22:46 +01:00
Jens Steube
52d71de0d4 Added support to utilize multiple different OpenCL platforms in parallel, ex: AMD + NV 2016-01-13 17:10:40 +01:00
Jens Steube
730044e26e Added option --opencl-device-types to filter for specific OpenCL device types 2016-01-12 00:44:28 +01:00
jsteube
f0a84a2410 Added new hash mode -m 13000 = RAR5 2016-01-09 20:34:12 +01:00
jsteube
332b3c35e5 Added new hash mode -m 12900 = Android FDE (Samsung DEK) 2016-01-09 00:49:54 +01:00
jsteube
16294fe94e Next release version will be v2.10 2016-01-05 08:30:18 +01:00
jsteube
331188167c Replace the substring GPU to a more appropriate "device" or "kernel" substring depending on the context 2016-01-05 08:26:44 +01:00
jsteube
0428514f61 Extended support from 14 to 255 functions calls per rule on GPU 2016-01-03 19:49:47 +01:00
Jens Steube
dc13c2fc71 Switched to Khronos OSS OpenCL reference implementation for building
For detailed information see: https://github.com/hashcat/oclHashcat/issues/40
2016-01-03 13:17:14 +01:00
jsteube
2be8f5f982 - Added Makefile target for native compilation
- Moved rules_optimize tool to hashcat-utils
2016-01-02 17:42:47 +01:00
Jens Steube
0f906dcfeb Fix a bug in the implementation of GOST R 34.11-94, zero length passwords were not cracked 2015-12-26 17:10:03 +01:00
jsteube
f1cdf15540 Added option --gpu-platform to select a single OpenCL platform in case multiple OpenCL platforms are present 2015-12-23 18:02:01 +01:00
jsteube
e2412c9b10 We do not depend on CUDA any longer, so get rid of it :) 2015-12-21 12:20:08 +01:00
jsteube
0bf4e3c34a - Dropped all vector code since new GPU's are all scalar, makes the code much easier
- Some performance on low-end GPU may drop because of that, but only for a few hash-modes
- Dropped scalar code (aka warp) since we do not have any vector datatypes anymore
- Renamed C++ overloading functions memcat32_9 -> memcat_c32_w4x4_a3x4
- Still need to fix kernels to new function names, needs to be done manually
- Temperature Management needs to be rewritten partially because of conflicting datatypes names
- Added code to create different codepaths for NV on AMD in runtime in host (see data.vendor_id)
- Added code to create different codepaths for NV on AMD in runtime in kernels (see IS_NV and IS_AMD)
- First tests working for -m 0, for example
- Great performance increases in general for NV so far
- Tested amp_* and markov_* kernel
- Migrated special NV optimizations for rule processor
2015-12-15 12:04:22 +01:00
Jens Steube
586441fa25 Revert "Fixed a bug where oclHashcat rejected to load a rule which calls 15 functions although it is supported"
This reverts commit f230ed73dc.

Some kernel require too much constant memory and do not compile anymore
2015-12-13 18:46:21 +01:00
Jens Steube
f230ed73dc Fixed a bug where oclHashcat rejected to load a rule which calls 15 functions although it is supported 2015-12-13 14:54:39 +01:00
Jens Steube
c460b554d0 - Fixed a bug related to --restore if the User
- Updated readme, we actually need catalyst 15.7 (for the binary package) because of OpenCL 2.0
2015-12-11 19:27:07 +01:00