mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-15 11:08:21 +00:00
Pidfile: Treat a corrupted pidfile like a not existing pidfile
This commit is contained in:
parent
cbd1361a2b
commit
9afed4b88d
@ -28,6 +28,7 @@
|
|||||||
## Improvements
|
## Improvements
|
||||||
##
|
##
|
||||||
|
|
||||||
|
- Startup: Show OpenCL runtime initialization message (per device)
|
||||||
- xxHash: Added support for using the version provided by the OS/distribution
|
- xxHash: Added support for using the version provided by the OS/distribution
|
||||||
|
|
||||||
##
|
##
|
||||||
@ -57,7 +58,7 @@
|
|||||||
- Hardware Monitor: Renamed --gpu-temp-disable to --hwmon-disable
|
- Hardware Monitor: Renamed --gpu-temp-disable to --hwmon-disable
|
||||||
- Memory: Limit maximum host memory allocation depending on bitness
|
- Memory: Limit maximum host memory allocation depending on bitness
|
||||||
- Memory: Reduced default maximum bitmap size from 24 to 18 and give a notice to use --bitmap-max to restore
|
- Memory: Reduced default maximum bitmap size from 24 to 18 and give a notice to use --bitmap-max to restore
|
||||||
- Startup: Show OpenCL runtime initialization message (per device)
|
- Pidfile: Treat a corrupted pidfile like a not existing pidfile
|
||||||
- Tests: Added hash-mode 11700 (Streebog-256)
|
- Tests: Added hash-mode 11700 (Streebog-256)
|
||||||
- Tests: Added hash-mode 11750 (HMAC-Streebog-256 (key = $pass), big-endian)
|
- Tests: Added hash-mode 11750 (HMAC-Streebog-256 (key = $pass), big-endian)
|
||||||
- Tests: Added hash-mode 11760 (HMAC-Streebog-256 (key = $salt), big-endian)
|
- Tests: Added hash-mode 11760 (HMAC-Streebog-256 (key = $salt), big-endian)
|
||||||
|
@ -29,11 +29,11 @@ static int check_running_process (hashcat_ctx_t *hashcat_ctx)
|
|||||||
|
|
||||||
if (nread != 1)
|
if (nread != 1)
|
||||||
{
|
{
|
||||||
event_log_error (hashcat_ctx, "Cannot read %s", pidfile_filename);
|
//event_log_error (hashcat_ctx, "Cannot read %s", pidfile_filename);
|
||||||
|
|
||||||
hcfree (pd);
|
hcfree (pd);
|
||||||
|
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pd->pid)
|
if (pd->pid)
|
||||||
|
Loading…
Reference in New Issue
Block a user