1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 18:08:20 +00:00
Commit Graph

2000 Commits

Author SHA1 Message Date
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
80b3f52952 Move from off_t to stat struct to avoid struggling with rarely available _off64_t in cache_git struct 2016-10-31 10:20:25 +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
5c8d08d8ef On OSX, use clang as default compiler 2016-10-31 09:34:22 +01:00
jsteube
3442892fda Use __attribute__ ((format (printf, 2, 3))) to help compiler to identify format strings 2016-10-31 09:19:37 +01:00
jsteube
a599b06a53 Fix use of invalid buffer 2016-10-30 22:56:45 +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
0c42be9fb9 We should check for maximum stack use (OSX only supports up to 512kB by default thread stack size) 2016-10-30 21:58:22 +01:00
jsteube
9f790d4dbd Move u8 * instead of char * for most interface.c functions 2016-10-30 21:56:56 +01:00
jsteube
2dbb1b41f3 Fix compiler warnings caused by -Wstrict-prototypes 2016-10-30 20:45:44 +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
Jens Steube
6133809704 Merge pull request #561 from neheb/master
Fix a bunch of warnings.
2016-10-30 20:01:45 +01:00
Rosen Penev
2751cc363b
Remove -float-conversion. Needs a recent GCC 2016-10-30 11:58:39 -07:00
Jens Steube
25bc960a09 Merge pull request #560 from matrix/fix_string_format
Fix string format
2016-10-30 19:31:52 +01:00
Jens Steube
a4cf3b4dbc Merge pull request #559 from matrix/fix_resource_leak
Fix resource leak
2016-10-30 19:31:29 +01:00
Jens Steube
ab20f4a6f1 Merge pull request #558 from matrix/quit_if_paused
Quit program also if status == PAUSED
2016-10-30 19:30:54 +01:00
Jens Steube
69affbb0f8 Merge pull request #557 from matrix/master
Cleanup src/interface.c code
2016-10-30 19:30:27 +01:00
Rosen Penev
a219b95c17
Fix a bunch of warnings 2016-10-30 10:58:14 -07:00
Rosen Penev
0d6c020433
Add extra warnings to Makefile 2016-10-30 10:53:44 -07:00
Gabriele Gristina
f500727bd8 Fix string format 2016-10-30 16:11:20 +01:00
Gabriele Gristina
6bf5ee95a6 Fix resource leak 2016-10-30 16:08:41 +01:00
Gabriele Gristina
5c1132167b Quit program also if status == PAUSED 2016-10-30 16:05:00 +01:00
Gabriele Gristina
3afa29bcff Cleanup src/interface.c code 2016-10-30 15:22:25 +01:00
Jens Steube
cd7ec6100b Merge pull request #556 from matrix/master
Move '-framework OpenCL' from CFLAGS to LDFLAGS
2016-10-30 14:35:33 +01:00
Gabriele Gristina
0b2abb17da Move '-framework OpenCL' from CFLAGS to LDFLAGS 2016-10-30 14:31:17 +01:00
Jens Steube
cf1c133678 Merge pull request #552 from matrix/master
Fix OSX segfault on check_hash()
2016-10-30 14:00:35 +01:00
jsteube
2a330122b4 Update Makefile to be more specific to uname -s 2016-10-30 13:54:24 +01:00
jsteube
3a04086a04 Fix for https://github.com/hashcat/hashcat/issues/555 2016-10-30 12:36:21 +01:00
jsteube
f85886ecf1 Adjusted PID controler settings 2016-10-30 01:49:16 +02:00
Gabriele Gristina
e7406bec33 Fixed OSX stack overflow - v2 2016-10-30 00:33:12 +02:00
jsteube
99afe745b5 Fix NvAPI fan speed restore to default on quit 2016-10-30 00:21:05 +02:00
jsteube
b16c15c151 Fix missing TOPID in hashcat.log for user options 2016-10-29 23:21:52 +02:00
jsteube
7147d659f9 Fix input-base and input-mod ordering for status screen 2016-10-29 23:18:15 +02:00
jsteube
d7c019b583 Rename some variable naming in straight.c 2016-10-29 23:12:18 +02:00
jsteube
e2066b7919 Fix more missing zero-byte termination in outfile.c 2016-10-29 23:11:38 +02:00
jsteube
8d6b6dd286 Also works for hybrid modes 2016-10-29 22:46:14 +02:00
jsteube
9e156321ef Bring back mask length of mask as number to status screen 2016-10-29 22:44:01 +02:00
jsteube
87aed3482f Fix missing zero-byte termination in build_plain() 2016-10-29 22:19:00 +02:00
jsteube
f3fc5d96c4 Limit status_ctx access with a flag, easier to test 2016-10-29 15:12:45 +02:00
Jens Steube
34ee05eb11 Merge pull request #553 from boursie/master
Add --restore-file-path to the tab_completion script
2016-10-29 14:03:53 +02: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
86d62e418e Increase HCBUFSIZ_TINY because some very long hashes can have more than 256 byte. Not an ideal solution 2016-10-29 13:51:32 +02:00
jsteube
602576a126 Remove some white spaces 2016-10-29 13:50:43 +02:00
jsteube
8d1809cacb Fix slow-hash-simd exits in _loop kernels 2016-10-29 13:49:08 +02:00
Jens Steube
2d5c65fb4b Merge pull request #550 from boursie/master
Add --restore-file-path option
2016-10-28 09:18:55 +02:00
Etienne
34db821f6c Add --restore-file-path to tab_completion 2016-10-28 01:30:05 +02:00
Etienne
f35f475b4f Add --restore-file-path option
This option set the restore file path.
It's useful when we need all session files in specific directory.

Example:
hashcat -m 0 --session "Test" --potfile-path "/path/to/my/potfile.potfile"
--restore-file-path "/path/to/my/restore_file.restore" hashs.txt -a 3 ?a?a?a?a
Restore session with :
hashcat --sesion "Test" --restore --restore-file-path
"/path/to/my/restore_file.restore"
2016-10-28 00:51:03 +02:00
Gabriele Gristina
dbe60b845b Fix OSX segfault on check_hash() 2016-10-27 22:29:57 +02:00