Rosen Penev
6b0ee145c4
Fix missing stuff
7 years ago
Rosen Penev
0555613305
Remove else statement after return
...
Suggested by clang tidy
7 years ago
Rosen Penev
4ba19fa7c1
replace more snprintf calls with hc_asprintf.
7 years ago
jsteube
617dbb97ba
Prepare migration -m 15800 into -m 2500
7 years ago
philsmd
e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions
7 years ago
philsmd
1644ac30b5
use an overflow check instead of a hard coded value for ETA
7 years ago
jsteube
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
7 years ago
jsteube
beb6ee2061
Add OPTI_TYPE_OPTIMIZED_KERNEL
...
Rename unconverted fast hash kernels to optimized kernels
Finalize some converted fast hashes to default kernels
7 years ago
jsteube
fbea72ebd6
Renamed default kernels to optimized kernels
...
Renamed pure kernels to default kernels
Replaced long option --length-limit-disable with --optimized-kernel-enable
Replaced short option -L with -O
Set --optimized-kernel-enable to unset by default
7 years ago
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
7 years ago
jsteube
f97c0d38d7
Allow using -L with -a 7 (other modes need no modification) for fast hashes
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
Jens Steube
08fc0ec1fb
Added self-test funcionality for OpenCL kernels on startup
...
Fixed a parser error for mode -m 9820 = MS Office <= 2003 $3, SHA1 + RC4, collider #2
7 years ago
jsteube
0cce17d268
Eventual fix for #1263
7 years ago
Christopher Schmitt
efd18121d5
Review/Style Changes
7 years ago
Christopher Schmitt
d24a6198e8
first pass at free'ing hashcat_status_t
7 years ago
sgroat
21efc80975
fix string
7 years ago
jsteube
0f1d68c358
Update fixed length for compress_terminal_line_length for hash target
7 years ago
jsteube
99fbaa8bcc
Dictionary Cache: Split long status line into multiple lines to stay < 80 chars
7 years ago
jsteube
e933d12838
Rename Input.Mode, Input.Base, ... to Guess.Mode, Guess.Base, ...
7 years ago
jsteube
6d66ff96c1
Truncate longer hash format in status output
7 years ago
jsteube
826de76bd6
Fix invalid strdup of NULL in stdin mode
7 years ago
Jens Steube
c7ed2ade17
Fixed a race condition when a session finishes the input-base was freed but accessed afterwards
...
Fixes https://github.com/hashcat/hashcat/issues/1192
7 years ago
philsmd
269b1ee6a5
renamed ST_9998 -> ST_0011
7 years ago
philsmd
9b0821bb20
fixes #1162 : visual indication if checkpoint quit is enabled
7 years ago
Timo Juhani Lindfors
289744e7a3
Fix spelling of MHz
7 years ago
jsteube
0642639b81
CID 1402417 ( #1 of 1): Division or modulo by float zero
7 years ago
jsteube
717da7f4f2
Added support for loading hccapx files
7 years ago
jsteube
c7999c66bc
Returncode: Added dedicated returncode (see docs/status_codes.txt) for shutdowns caused by --runtime and checkpoint keypress
8 years ago
jsteube
d36cc4c5cb
Give some extra space for plain_buf1 in case $HEX[...] is added
8 years ago
Jens Steube
feb6d4f740
Fixed buffer overflow in status screen display in case of long non-utf8 string
8 years ago
jsteube
9f64f9e705
Removed *throttled* message from NVML as this created more confusion than it helped
8 years ago
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
8 years ago
jsteube
1342cf2ce3
Use $HEX[...] in case the password includes the separater character, increases potfile reading performance
8 years ago
Gabriele Gristina
cadd3d24ea
Fix sec_etc overflow
8 years ago
Gabriele Gristina
134922ba7a
Fix wrong usage of ctime_r()
8 years ago
Rosen Penev
96591f3118
Replace ctime with _r variant
8 years ago
Rosen Penev
f5f17997b2
Fix cppcheck warnings
8 years ago
jsteube
3c40b88eff
Status: Do not show Recovered/Time as floats but as integers to reduce over-information
8 years ago
jsteube
7ca6a45781
Add some hint about performance for new users
8 years ago
jsteube
06c1d4a52e
Hardware-Management initialization refactor, to show HM related errors only once on startup
8 years ago
jsteube
9e1574a97b
Simplify status_get_hwmon_dev() a bit
8 years ago
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.
8 years ago
jsteube
c8daffb4b6
Fix some unreachable code
8 years ago
jsteube
e8078f2c73
Add output buffer size to ascii_digest()
8 years ago
jsteube
2f398becfb
Do not store result of binary operation in a bool
8 years ago
jsteube
907fb52c7b
Replaced all calls to gmtime() with gmtime_r() to ensure thread safety with exception to windows, because there's no _gmtime64_r() for windows
8 years ago
jsteube
3da0232ead
Remove some code which was already moved from mpsp.c to interface.c
8 years ago
jsteube
cad9120a48
Fix Input.Queue.Mod in hybrid mode
8 years ago
jsteube
4d9cb462a9
Add back input queue in status view
...
Implements https://github.com/hashcat/hashcat/issues/577
8 years ago
jsteube
1edc129f8a
Added core-clock and memory-clock to output in benchmark mode with --machine-readable enabled
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
jsteube
0fb9779c15
Make a final status snapshot
8 years ago
jsteube
d6b7b39515
Fix for invalid error "Restore value greater keyspace"
8 years ago
jsteube
7eef713ff7
Fix compiler warnings caused by -Wshadow
8 years ago
Jens Steube
6133809704
Merge pull request #561 from neheb/master
...
Fix a bunch of warnings.
8 years ago
Rosen Penev
a219b95c17
Fix a bunch of warnings
8 years ago
Gabriele Gristina
f500727bd8
Fix string format
8 years ago
jsteube
7147d659f9
Fix input-base and input-mod ordering for status screen
8 years ago
jsteube
9e156321ef
Bring back mask length of mask as number to status screen
8 years ago
jsteube
87aed3482f
Fix missing zero-byte termination in build_plain()
8 years ago
jsteube
f3fc5d96c4
Limit status_ctx access with a flag, easier to test
8 years ago
jsteube
5accadb511
Fix invalid Time.Estimated value in status screen
8 years ago
jsteube
97b58b16af
Fix some EOL handling
8 years ago
jsteube
e1010ffba1
Prepare library user access to OpenCL device information without running an attack
8 years ago
jsteube
bfdd0edbad
Move event_log_info() out of thread.c
8 years ago
jsteube
6b96146e0f
Fix integer overflow in status.c
8 years ago
jsteube
761e3f0d96
Move out words_cur from restore_ctx to status_ctx and let the dispatcher update it
8 years ago
jsteube
0a26b09684
Fix buffer overflow in status_get_hash_target()
8 years ago
jsteube
c3266e363a
Make status_display_machine_readable() use of hashcat_status_t
8 years ago
jsteube
65b3910dc0
Converted status_benchmark_automate()
8 years ago
jsteube
1d0810a759
Added status_get_hwmon_dev() to status.c
8 years ago
jsteube
2b28010aae
Added status_get_input_candidates_dev() to status.c
8 years ago
jsteube
8d81d3bd55
Added progress_mode to status.c
8 years ago
jsteube
86c1c7ef10
Added CPT functions for later use in status.c
8 years ago
jsteube
df521d664b
Move restore_* variables into separate functions for later use in status.c
8 years ago
jsteube
615d977b7c
Add new functions to hashcat_get_status()
8 years ago
jsteube
b044271b01
Move more status display calculate logic into separate functions
8 years ago
jsteube
2545ec6bf9
Prepare hashcat_get_status()
8 years ago
jsteube
191269f4f0
Add --speed-only mode
8 years ago
jsteube
056083fdba
Revert "Prepare for hashcat_ctx_run_session()"
...
This reverts commit 0179097a53
.
8 years ago
jsteube
0179097a53
Prepare for hashcat_ctx_run_session()
8 years ago
jsteube
8598a79732
Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
8 years ago
jsteube
690ca0219e
Fix formatstring in CPT display and get rid of potfile_format_plain()
8 years ago
jsteube
ee1661b9db
Revert "Fix formatstring in CPT display"
...
This reverts commit 8d3e9fc70c
.
8 years ago
jsteube
8d3e9fc70c
Fix formatstring in CPT display
8 years ago
jsteube
556c07d8ee
Revert "Use printf() instead of event_log_*() in terminal.c and status.c"
...
This reverts commit 690b465ddc
.
8 years ago
jsteube
358ad9bdbe
Revert "Fix some newlines in status.c"
...
This reverts commit 29c2931b67
.
8 years ago
jsteube
29c2931b67
Fix some newlines in status.c
8 years ago
jsteube
690b465ddc
Use printf() instead of event_log_*() in terminal.c and status.c
8 years ago
jsteube
20832d29d6
Do not reset innerloop_left and outerloop_left too early so we can access it from status display
8 years ago
jsteube
af9de0a7b7
Fix some error string formats
8 years ago
jsteube
8fc4da795b
Replace fprintf(stderr, ...) on malloc.c with log_event_error()
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
39d333d551
Add user_options_extra_amplifier()
8 years ago
jsteube
034c0699bb
Added status_words_base_calculate()
8 years ago
jsteube
14334e4129
Update restore.c function parameters
8 years ago
jsteube
f084aaf61b
Update hwmon.c function parameters
8 years ago
jsteube
3fb10fe9b4
Update status.c function parameters
8 years ago