Skip to content

Commit 59e812c

Browse files
author
jessevz
committed
Changed log, to not log the hash
1 parent 116f802 commit 59e812c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/inc/api/APISendProgress.class.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,9 @@ public function execute($QUERY = array()) {
231231
if (sizeof($hashes) == 0) {
232232
//This can happen if agent rebuild the hash incorrectly
233233
//Log the skipped hash so that admin can spot this false negative
234-
$logMessage = "Hash: " . $splitLine[0] . "has been cracked but skipped! The crack: " . $splitLine[1];
234+
$logMessage = "Hash has been cracked but skipped! This happened while cracking hashlist with Id: "
235+
. $hashlist->getId() . " during chunk with id: " . $chunk->getId() . " This happens when the agent returns
236+
a cracked hash that Does not exist in the database. This can happen when hashcat malforms the hash";
235237
Util::createLogEntry(DLogEntryIssuer::API, $this->agent->getToken(), DLogEntry::FATAL, $logMessage);
236238
DServerLog::log(DServerLog::FATAL, $logMessage);
237239

0 commit comments

Comments
 (0)