jsteube
0796c074c3
Added -m 16500 Kernels
...
Also changed function declaration of parser function from const hashconfig_t to just hashconfig_t
2018-01-21 18:53:55 +01:00
Rosen Penev
3ba84f17f1
More clang tidy fixes
2017-11-05 01:52:29 -07:00
philsmd
2c963054f3
show/left: fix new variable redeclaration bug
2017-10-18 15:42:43 +02:00
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
2017-10-18 12:09:32 +02:00
philsmd
433513a47f
get rid of last_node in pot_tree_entry, we update the first node of the list instead of the last one
2017-10-18 08:54:21 +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
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
jsteube
617dbb97ba
Prepare migration -m 15800 into -m 2500
2017-09-18 13:21:00 +02:00
jsteube
5551337cf6
Show advice to use optimized kernels only if there's actually one for this hash-mode
2017-09-16 22:33:04 +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
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
2017-07-20 12:46:18 +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
ad242c2f12
Working example of generic salt up to length 256 for mode 2100
2017-06-20 17:17:13 +02:00
Royce Williams
067372f5ce
more event_log_* standardization
2017-04-01 23:50:06 -08: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
33a043ec63
Refactored internal use of esalt from sync with number of salts to sync with number of digests
...
This enables a true N esalts per salt feature which is required for WPA/WPA2 handling
In case we need that for a future algorithm, just make sure to have a unique value in digest in hash parser.
Fixes https://github.com/hashcat/hashcat/issues/1158
2017-03-07 09:44:58 +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
6bcfca26b3
Fix CID 1402873: Dereference before null check
2017-02-14 20:53:42 +01:00
philsmd
c440dec867
file locking: check return value of fcntl ()
2017-02-14 15:15:50 +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
sgroat
113fe102f5
Cleanup zero-length printf format string warnings
2017-02-10 10:46:52 -08: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
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
1c4af583e8
minor: removed unused user_options variable
2017-02-01 09:20:10 +01:00
philsmd
dfd4084b3b
fixes #963 : show all user's hashes if --show/--left was specified
2017-02-01 09:00:16 +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
philsmd
297c797521
hook code: refactored the hook salt to be part of the hash_t struct
2017-01-24 15:23:48 +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
8257883ec1
Added hash-mode 14600 = LUKS
2017-01-21 15:37:44 +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
e1b5de12d5
Fixed potfile loading to accept blank passwords
2017-01-03 09:39:13 +01:00
jsteube
a4f40ac226
Added old potfile detection, show warning message
2016-12-31 13:52:35 +01:00
jsteube
6ece83760d
Add wrapping function for asprintf()
2016-12-24 00:40:40 +01:00
Jens Steube
1b4edc92ee
Merge pull request #925 from neheb/master
...
Replace some snprintf calls with asprintf.
2016-12-21 00:39:51 +01:00
Rosen Penev
36bd1c7dd9
Replace some snprintf calls with asprintf.
...
Simplifies the code.
2016-12-19 16:46:30 -08: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
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
magnum
fb56ce9b5a
Only lock loopback and pot files while actually writing to them. Closes #893 .
2016-12-02 11:18:55 +01:00
jsteube
db5291a76c
Add special weak-hash detection section for LM
...
Fixes https://github.com/hashcat/hashcat/issues/889
2016-11-29 20:37:29 +01:00
jsteube
90b9d5c12c
Fix some potential resource leaks in case of an error
2016-11-20 23:15:54 +01:00
jsteube
ea4fd1de50
Remove complicated checks after memory allocation and in case of error print to stderr instead. This makes the memory allocation functions more natural to use.
2016-11-20 22:54:52 +01:00
jsteube
e8078f2c73
Add output buffer size to ascii_digest()
2016-11-19 16:10:01 +01:00
jsteube
e777c25a67
Improve handling of MAX_CUT_TRIES
2016-11-19 15:25:01 +01:00
jsteube
daeb5f66ac
Use same locking mechanism in potfile as in outfile
2016-11-19 15:13:54 +01:00
jsteube
2f398becfb
Do not store result of binary operation in a bool
2016-11-19 15:08:22 +01:00
jsteube
0cd39ab963
Fix some code in potfile.c to make cppcheck happy
2016-11-16 16:08:40 +01:00
jsteube
316694fd08
Move hc_qsort_r() and hc_bsearch_r() from potfile.c to shared.c - Lets us use them from within all objects
2016-11-16 10:22:57 +01:00
jsteube
23fa7000fa
Removed functions sort_by_pot() and sort_by_salt_buf() from potfile.c - Code no longer required due to potfile --show and --left handling logic
2016-11-16 10:16:15 +01:00
jsteube
16c6a48e0b
Fix some null-pointer derefence which never occurs but is listed in the clang analyzer output
2016-11-12 15:06:10 +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
b8efae4281
Refactor all variables with HCBUFSIZ_LARGE size from stack to heap
2016-10-30 22:47:48 +01:00
jsteube
eb58b076da
Fix compiler warnings caused by -Wstack-usage=524288
2016-10-30 22:22:26 +01:00
jsteube
9f790d4dbd
Move u8 * instead of char * for most interface.c functions
2016-10-30 21:56:56 +01:00
jsteube
e3a245f615
Fix compiler warnings caused by -Wpointer-arith
2016-10-30 20:39:27 +01:00
jsteube
7eef713ff7
Fix compiler warnings caused by -Wshadow
2016-10-30 20:37:02 +01:00
jsteube
c4ba7907ca
Fix more EOL issues
2016-10-25 12:40:47 +02:00
jsteube
a460ab01b6
Bring back --username handling to --show and --left
2016-10-19 12:42:41 +02:00
jsteube
f5a92900c6
Rudimentary --show support is back
2016-10-19 11:55:43 +02:00
jsteube
9b2c69a00d
Bring error in case someone uses --show
2016-10-18 21:04:40 +02:00
jsteube
edefcdbaaa
Rudimentary --left support is back
2016-10-18 21:03:16 +02:00
jsteube
f6334b5f90
Handling --show and --left need to be refactored, do not use those flags atm
2016-10-18 20:42:34 +02:00
jsteube
1f72aa95e6
Destinguish between EVENT_POTFILE_HASH_CRACKED and EVENT_CRACKER_HASH_CRACKED for prompt handling
2016-10-18 00:50:54 +02:00
jsteube
191269f4f0
Add --speed-only mode
2016-10-14 21:38:52 +02:00
jsteube
8598a79732
Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
2016-10-13 10:07:04 +02:00
jsteube
690ca0219e
Fix formatstring in CPT display and get rid of potfile_format_plain()
2016-10-12 14:38:33 +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
8fc4da795b
Replace fprintf(stderr, ...) on malloc.c with log_event_error()
2016-10-10 11:03:11 +02:00
jsteube
0f96c57ead
Remove some workarounds to use get rid of unused variable warnings
2016-10-10 09:12:36 +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
27887bf9ce
Get rid of more log_info() in hashcat()
2016-10-07 21:47:11 +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
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
55f1dc321a
Replace ssort() with sort_r.h
2016-10-01 10:47:03 +02:00
jsteube
fb3e6bab0d
Finished refactoring to remove all global variables
2016-09-30 22:52:44 +02:00
jsteube
af1701c765
Fix some memleaks on shutdown
2016-09-30 13:36:27 +02:00
jsteube
d2877b95e4
Automatically disable most features in case -I is used
2016-09-30 13:14:11 +02:00
jsteube
46866dd0b1
Make potfile support modular
2016-09-30 12:37:29 +02:00
jsteube
521db46c11
Move dictstat_init() out of outer loop, also add enabled flag
2016-09-24 13:01:17 +02:00
jsteube
a0f6ed6832
Introduce hashes_t; not finishe yet
2016-09-16 17:01:18 +02:00
jsteube
bd9e092ea3
Do not write potfile if --potfile-disable is in use
2016-09-14 19:46:31 +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
jsteube
a61d1faaad
Cleanup and redefine some potfile functions
2016-09-10 15:17:23 +02:00
jsteube
53db51dcc3
Finalize potfile specific functions migration to their own source file
2016-09-10 12:16:16 +02:00
jsteube
f809937b1e
Move more potfile specific functions into their own source file
2016-09-10 11:32:26 +02:00
jsteube
63b47eebc9
Prepare move potfile specific functions into their own source file
2016-09-09 23:17:43 +02:00