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
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
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
philsmd
c54b85a3be
minor: cleaned up code and updated docs wrt #1195
8 years ago
syntaxmonkey
85bcdd5ea7
Update outfile.c
8 years ago
syntaxmonkey
f623217a2b
Update outfile.c
...
Fix #1194 .
crackpos was not being output properly when "--outfile-format 11" was used.
8 years ago
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.
8 years ago
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
8 years ago
philsmd
b1a2c4f0f6
fixes #980 : combinator attack needs special formula for max pass length
8 years ago
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
8 years ago
jsteube
1342cf2ce3
Use $HEX[...] in case the password includes the separater character, increases potfile reading performance
8 years ago
Rosen Penev
5c0bd0a15f
Remove strerror in favor of thread safe %m
8 years ago
jsteube
90b9d5c12c
Fix some potential resource leaks in case of an error
8 years ago
jsteube
ab3fd9e439
Close outfile after initial write check
8 years ago
jsteube
2f398becfb
Do not store result of binary operation in a bool
8 years ago
Jens Steube
2d743706cb
Merge pull request #570 from magnumripper/master
...
Fix file locking (again).
8 years ago
jsteube
2507f62722
Add hash-mode option OPTS_TYPE_PT_ALWAYS_ASCII to control need_hexify() from interface.c
8 years ago
magnum
7d7ca48704
Change need_hexify so it optionally tests for printable UTF-8 as opposed
...
to printable ASCII.
8 years ago
magnum
a52b96583f
Fix file locking (again).
8 years ago
jsteube
fb8fb6b21d
Actual use of --outfile-autohex-disable was lost during refactoring. Fixes https://github.com/hashcat/hashcat/issues/567
8 years ago
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
8 years ago
jsteube
93adde9d2f
* Wrap everything related to *stat() into own functions
...
* Testwise remove early includes to stdin for OSX, see if they are still required
8 years ago
Gabriele Gristina
f500727bd8
Fix string format
8 years ago
jsteube
e2066b7919
Fix more missing zero-byte termination in outfile.c
8 years ago
jsteube
87aed3482f
Fix missing zero-byte termination in build_plain()
8 years ago
jsteube
6582a8ae21
Fix https://github.com/hashcat/hashcat/issues/549
8 years ago
jsteube
97b58b16af
Fix some EOL handling
8 years ago
jsteube
a460ab01b6
Bring back --username handling to --show and --left
8 years ago
jsteube
7383bb14f5
Add some more returncode checks
8 years ago
jsteube
386efb7fb5
Make use of EVENT_CRACKER_HASH_CRACKED, do not print a cracked hash to stdout directly, let the client do it
8 years ago
jsteube
af9de0a7b7
Fix some error string formats
8 years ago
jsteube
ab8d2eb336
Fix newlines in help menu
8 years ago
jsteube
26fd67d932
Inline outfile_format_plain()
8 years ago
jsteube
27bec8be13
Get rid of logging.c and most exit() calls replaced with return() for true library usage
8 years ago
jsteube
52068e25d5
Add some additional start-up checks
8 years ago
jsteube
9b8092abf9
Update outfile.c and potfile.c function parameters
8 years ago
jsteube
0579f93402
Update opencl.c and autotune.c function parameters
8 years ago
jsteube
eeb8210951
Added the current first and last password candidate test queued for execution per device on status view
8 years ago
coolbry95
a78fd4e915
changed uint to u32
8 years ago
jsteube
9413ed8f56
Centralize hashcat_ctx memory allocation and deallocation
8 years ago
jsteube
2994afd81a
Use hc_stat from types.c instead of OS dependant branching
8 years ago
jsteube
2880217906
Fix memleak in outfile_ctx
8 years ago
jsteube
a5800b41f4
Rename hash_management.c to hashes.c
8 years ago
jsteube
6fef4a53fb
Add goodbye_screen()
8 years ago
jsteube
f5e5dc8ab3
Get rid of outfile, outfile_format, outfile_autohex, outfile_check_timer variable in main
8 years ago
jsteube
0eff6b7cab
Fix potfile remove logic
8 years ago
jsteube
a0f6ed6832
Introduce hashes_t; not finishe yet
8 years ago
jsteube
3daf0af480
Added docs/credits.txt
...
Added docs/team.txt
8 years ago
jsteube
b7906f6b93
Move outfile specific functions into their own source file
8 years ago