1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00
Commit Graph

50 Commits

Author SHA1 Message Date
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
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.
2017-06-17 17:57:30 +02:00
jsteube
b8ad89c529 Rename function and variables containing 'unicode' to 'utf16le' because that's what's meant actually 2017-06-05 12:15:28 +02:00
jsteube
018bb208d9 Refactor OPTS_TYPE_PT_UNICODE -> OPTS_TYPE_PT_UNICODE_LE and add OPTS_TYPE_PT_UNICODE_BE 2017-06-04 22:46:05 +02:00
philsmd
c54b85a3be minor: cleaned up code and updated docs wrt #1195 2017-03-22 11:52:08 +01:00
syntaxmonkey
85bcdd5ea7 Update outfile.c 2017-03-20 09:24:49 -04:00
syntaxmonkey
f623217a2b Update outfile.c
Fix #1194.
crackpos was not being output properly when "--outfile-format 11" was used.
2017-03-19 20:54:25 -04: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
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
philsmd
b1a2c4f0f6
fixes #980: combinator attack needs special formula for max pass length 2017-01-21 16:59:07 +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
jsteube
1342cf2ce3 Use $HEX[...] in case the password includes the separater character, increases potfile reading performance 2016-12-09 14:54:13 +01:00
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m 2016-12-02 21:26:10 -08:00
jsteube
90b9d5c12c Fix some potential resource leaks in case of an error 2016-11-20 23:15:54 +01:00
jsteube
ab3fd9e439 Close outfile after initial write check 2016-11-19 15:25:29 +01:00
jsteube
2f398becfb Do not store result of binary operation in a bool 2016-11-19 15:08:22 +01:00
Jens Steube
2d743706cb Merge pull request #570 from magnumripper/master
Fix file locking (again).
2016-11-05 23:26:59 +01:00
jsteube
2507f62722 Add hash-mode option OPTS_TYPE_PT_ALWAYS_ASCII to control need_hexify() from interface.c 2016-11-05 14:46:00 +01:00
magnum
7d7ca48704 Change need_hexify so it optionally tests for printable UTF-8 as opposed
to printable ASCII.
2016-11-05 13:36:55 +01:00
magnum
a52b96583f Fix file locking (again). 2016-11-05 11:33:29 +01:00
jsteube
fb8fb6b21d Actual use of --outfile-autohex-disable was lost during refactoring. Fixes https://github.com/hashcat/hashcat/issues/567 2016-11-04 22:12:25 +01:00
jsteube
f234f729f5 Fix the rejection of words in a wordlist if it's exactly of length 32
This fixes https://github.com/hashcat/hashcat/issues/502
2016-10-31 16:11:52 +01:00
jsteube
93adde9d2f * Wrap everything related to *stat() into own functions
* Testwise remove early includes to stdin for OSX, see if they are still required
2016-10-31 11:28:06 +01:00
Gabriele Gristina
f500727bd8 Fix string format 2016-10-30 16:11:20 +01:00
jsteube
e2066b7919 Fix more missing zero-byte termination in outfile.c 2016-10-29 23:11:38 +02:00
jsteube
87aed3482f Fix missing zero-byte termination in build_plain() 2016-10-29 22:19:00 +02:00
jsteube
6582a8ae21 Fix https://github.com/hashcat/hashcat/issues/549 2016-10-26 13:21:10 +02:00
jsteube
97b58b16af Fix some EOL handling 2016-10-25 12:25:53 +02:00
jsteube
a460ab01b6 Bring back --username handling to --show and --left 2016-10-19 12:42:41 +02:00
jsteube
7383bb14f5 Add some more returncode checks 2016-10-15 19:30:57 +02:00
jsteube
386efb7fb5 Make use of EVENT_CRACKER_HASH_CRACKED, do not print a cracked hash to stdout directly, let the client do it 2016-10-12 11:27:10 +02:00
jsteube
af9de0a7b7 Fix some error string formats 2016-10-11 10:55:02 +02:00
jsteube
ab8d2eb336 Fix newlines in help menu 2016-10-11 09:46:18 +02:00
jsteube
26fd67d932 Inline outfile_format_plain() 2016-10-10 13:10:50 +02:00
jsteube
27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage 2016-10-09 22:41:55 +02:00
jsteube
52068e25d5 Add some additional start-up checks 2016-10-06 17:26:15 +02:00
jsteube
9b8092abf9 Update outfile.c and potfile.c function parameters 2016-10-06 15:40:27 +02:00
jsteube
0579f93402 Update opencl.c and autotune.c function parameters 2016-10-06 15:16:30 +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
coolbry95
a78fd4e915 changed uint to u32 2016-10-04 00:35:49 -04:00
jsteube
9413ed8f56 Centralize hashcat_ctx memory allocation and deallocation 2016-10-02 00:00:21 +02:00
jsteube
2994afd81a Use hc_stat from types.c instead of OS dependant branching 2016-10-01 14:22:50 +02:00
jsteube
2880217906 Fix memleak in outfile_ctx 2016-09-30 12:23:03 +02:00
jsteube
a5800b41f4 Rename hash_management.c to hashes.c 2016-09-30 09:25:51 +02:00
jsteube
6fef4a53fb Add goodbye_screen() 2016-09-24 12:29:07 +02:00
jsteube
f5e5dc8ab3 Get rid of outfile, outfile_format, outfile_autohex, outfile_check_timer variable in main 2016-09-21 21:14:06 +02:00
jsteube
0eff6b7cab Fix potfile remove logic 2016-09-16 17:31:31 +02:00
jsteube
a0f6ed6832 Introduce hashes_t; not finishe yet 2016-09-16 17:01:18 +02:00
jsteube
3daf0af480 Added docs/credits.txt
Added docs/team.txt
2016-09-11 22:20:15 +02:00
jsteube
b7906f6b93 Move outfile specific functions into their own source file 2016-09-10 17:35:58 +02:00