jsteube
514fc0fe75
Switch hex_to_u32() to LE
...
Also fixes -m 11100 is_valid_hex_string()
2016-12-26 15:09:56 +01:00
jsteube
ceed66d50b
Switch hex_to_u64() to LE
2016-12-26 13:09:41 +01:00
jsteube
f0b287e838
Get rid of bin_to_hex_lower(), add u8_to_hex_lower(), u32_to_hex_lower() and u64_to_hex_lower()
2016-12-26 12:52:06 +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
Gabriele Gristina
8b0764bc4d
Add support for SHA-224
2016-12-16 02:05:12 +01:00
jsteube
f218e85c4d
Fix -m 7300 hash output from ascii_digest()
2016-12-01 17:28:19 +01:00
Rosen Penev
4d09cc10fd
Fix some formats and conversion errors
2016-11-30 15:14:42 -08:00
jsteube
cad3b3e10b
Get rid of truecrypt_mdlen
2016-11-30 11:41:31 +01:00
jsteube
66a9f2f544
Merge strcmp() changes from https://github.com/hashcat/hashcat/pull/604
2016-11-21 11:36:49 +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
c8daffb4b6
Fix some unreachable code
2016-11-20 22:11:33 +01:00
jsteube
5c871d5322
Initialize psafe3 header even if later overwritten by fread() to make scan-build happy
2016-11-20 21:49:16 +01:00
jsteube
7388c032a8
Remove some useless calls which helped understanding the code logic to make scan-build happy
2016-11-20 21:38:17 +01:00
jsteube
7f1dbf5a33
Fix too late check of fread() return in interface.c
2016-11-20 13:53:33 +01:00
jsteube
e8078f2c73
Add output buffer size to ascii_digest()
2016-11-19 16:10:01 +01:00
Rosen Penev
03efea645f
More sign fixes
2016-11-16 21:17:28 -08:00
Rosen Penev
4e82eb9281
Replace atoi with atoll. Eliminates sign conversion warnings
2016-11-16 20:43:17 -08:00
Rosen Penev
c13ef5aacd
Fix formats found by cppcheck
2016-11-16 20:30:14 -08:00
jsteube
d5375a4818
Fix some code in interface.c to make cppcheck happy
2016-11-16 15:36:06 +01:00
jsteube
536dcef7eb
Replaced all calls to strtok() with strtok_r() to ensure thread safety
2016-11-16 10:35:01 +01:00
jsteube
5623087048
Remove unused function md4s_parse_hash() from interface.c
2016-11-16 10:10:12 +01:00
Rosen Penev
22abb22c13
Fix a few printf formats
2016-11-13 17:45:36 -08:00
jsteube
0e9ef5313d
Optimize salt initialization in ascii_digest()
2016-11-12 16:07:42 +01:00
jsteube
d4a7cbf101
Fix uninitialized salt buffer in ascii_digest()
2016-11-12 16:03:52 +01:00
jsteube
17d2726c24
Comment out some unused code but do not remove it to keep up the logic of the code visible
2016-11-12 15:56:51 +01:00
jsteube
5835f0991f
Improved NSEC3 hashes parsing error detection
2016-11-12 12:50:02 +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
jsteube
1c8847499d
Fix -i loop if mask is shorter than increment_max or pw_max
2016-11-07 11:17:05 +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
jsteube
f3626fa082
Added new hash-mode 99999 = Plaintext
2016-11-03 19:02:55 +01:00
jsteube
5b69620a35
Do not use sizeof() on a pointer address
2016-11-02 23:40:14 +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
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
b8efae4281
Refactor all variables with HCBUFSIZ_LARGE size from stack to heap
2016-10-30 22:47:48 +01:00
jsteube
9f790d4dbd
Move u8 * instead of char * for most interface.c functions
2016-10-30 21:56:56 +01:00
jsteube
7eef713ff7
Fix compiler warnings caused by -Wshadow
2016-10-30 20:37:02 +01:00
Gabriele Gristina
3afa29bcff
Cleanup src/interface.c code
2016-10-30 15:22:25 +01:00
jsteube
df8a9ab5e5
Support mixed kernel thread count for mixed kernels in the same source file
...
Get rid of one global kernel_threads variable
Recognize reqd_work_group_size() values from OpenCL kernels and use them in host if possible
Fix some white spaces
Remove unused weak* kernels
Rename hashconfig_enforce_kernel_threads() to hashconfig_get_kernel_threads() - we do not enforce anymore
Rename hashconfig_enforce_kernel_loops() to hashconfig_get_kernel_loops() - we do not enforce anymore
Add some missing checks for --quiet
2016-10-29 14:02:29 +02:00
jsteube
39eed94703
Add option OPTS_TYPE_BINARY_HASHFILE for interface.c
2016-10-27 00:32:38 +02:00
jsteube
e4b3ea937f
Fix salt length for -m 22 in benchmark mode
2016-10-19 16:52:41 +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
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
fa4de96ab0
switch cpu_crc32.c to event_log_*
2016-10-08 23:53:52 +02:00
jsteube
bea228dabe
Add straight_ctx_update_loop()
2016-10-06 22:18:20 +02:00
jsteube
a97e31881c
Update interface.c function parameters
2016-10-06 15:49:07 +02:00
jsteube
935e4a6fa0
Fix loading of NetNTLMv1 + SSP hash
2016-10-05 14:33:36 +02:00
coolbry95
a78fd4e915
changed uint to u32
2016-10-04 00:35:49 -04:00
jsteube
fb5d840cf8
Move wordlist folder scan to straight.c and combinator.c init functions
2016-10-03 16:27:34 +02:00
jsteube
9413ed8f56
Centralize hashcat_ctx memory allocation and deallocation
2016-10-02 00:00:21 +02:00
jsteube
3203ad4e89
Fixed win8phone_t type in interface.c
2016-10-01 14:06:47 +02:00
jsteube
92625b7692
Fix WPA benchmark default mask
2016-09-28 23:14:08 +02:00
jsteube
c3338f0a9a
Fix -m 8900 bug
2016-09-28 12:58:56 +02:00
jsteube
791cd5ec42
Fix some default masks
2016-09-28 12:01:54 +02:00
jsteube
48917b5843
Move tmp size and hook size to hashconfig_init()
2016-09-28 11:11:14 +02:00
jsteube
ce02b3c54f
Add hashconfig_enforce_kernel_loops ()
2016-09-28 10:47:39 +02:00
jsteube
47f027d249
Created hashconfig_kernel_thread_force()
2016-09-28 10:41:06 +02:00
jsteube
54a4ea3db2
Large but needed refactoring of mask handling, maskfiles, default mask, etc., expect smaller bugs
2016-09-26 01:18:00 +02:00
jsteube
80685d94c4
Get rid of truecrypt_keyfiles and veracrypt_keyfiles variable in main
2016-09-21 22:21:35 +02:00
jsteube
b7f0a6959d
Get rid of hash_mode, hex_salt, increment_max, increment_min, increment and separator variable in main
2016-09-21 21:02:49 +02:00
jsteube
a0f6ed6832
Introduce hashes_t; not finishe yet
2016-09-16 17:01:18 +02:00
jsteube
bc75ba70a1
Move tons of functions from hashcat.c into hash_management, interface, opencl, restore, status and weak_hash sources
2016-09-14 16:07:24 +02:00
jsteube
2678592484
Move more hash-mode dependant configuration into hashconfig
2016-09-12 10:50:08 +02:00
jsteube
e25224a940
Move benchmark related stuff to benchmark.c
2016-09-12 10:16:42 +02:00
jsteube
3daf0af480
Added docs/credits.txt
...
Added docs/team.txt
2016-09-11 22:20:15 +02:00
jsteube
26172af89d
Introduce hashconfig_t
2016-09-09 16:54:48 +02:00
jsteube
9eb47153d4
Replace all #ifdef with #if defined (...) for convention
2016-09-07 22:29:57 +02:00
jsteube
a56855e355
Move restore specific functions into their own source file
2016-09-07 22:01:34 +02:00
jsteube
8dd57b715b
Create real opencl.c to better distinguish between opencl helper functions and library handling functions
2016-09-07 15:13:50 +02:00
Gabriele 'matrix' Gristina
b0c6eee06c
Fix multiple build issues with OSX
2016-09-06 22:25:54 +02:00
jsteube
3ed4bfd237
Move tuningdb specific functions into their own source file
2016-09-06 19:44:27 +02:00
jsteube
1902e6c2eb
Create real cpu_crc32.c and rp_cpu.c
2016-09-06 15:28:56 +02:00
jsteube
21666f77b7
Move maskprocessor and statusprocessor specific functions into their own source file
2016-09-06 13:52:26 +02:00
jsteube
d15ae38723
Move hwmon specific functions into their own source file
2016-09-06 13:29:50 +02:00
jsteube
3dc77ced14
More preparation for easier integration of:
...
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
2016-09-06 11:49:26 +02:00