• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubybathyscaphegamewindowspythonphpguic翻訳omegattwitterframeworkbtronarduinovb.net計画中(planning stage)directxpreviewertestゲームエンジンdom

FinalCrypt - The No¹ One-Time Pad Encryption


Commit MetaInfo

Révision2937cd838fce2a115930eb0afca27d28739552ef (tree)
l'heure2019-11-05 04:30:14
Auteurron <ronuitzaandam@gmai...>
Commiterron

Message de Log

Date: 2019-10-04 Version: 5.6.2

Cleaned up action-buttons to improve usage clarity

Change Summary

Modification

--- a/src/rdj/CLUI.java
+++ b/src/rdj/CLUI.java
@@ -458,9 +458,10 @@ public class CLUI implements UI
458458 Stats allDataStats = new Stats(); allDataStats.reset();
459459 allDataStats.setAllDataStartNanoTime(); allDataStats.clock();
460460
461- log("\r\nStart Brute force testing " + lines + " passwords...\r\n\r\n", false, true, true, false, false);
461+ log("\r\nStart Brute Force testing " + lines + " passwords...\r\n\r\n", false, true, true, false, false);
462462 try
463463 {
464+ boolean pwdFound = false;
464465 pwloop: for (String pwdString:Files.readAllLines(dictFileFCPath.path))
465466 {
466467 pwd = pwdString;
@@ -477,10 +478,18 @@ public class CLUI implements UI
477478 pathlistloop: for (FCPath fcPathItem : targetFCPathList)
478479 {
479480 log(counter + " testing target: \"" + fcPathItem.path.toAbsolutePath().toString() + "\" password: \"" + pwd + "\" result: " + fcPathItem.isDecryptable + "\r\n", false, true, true, false, false);
480- if (fcPathItem.isDecryptable) { break pwloop; }
481+ if (fcPathItem.isDecryptable) { pwdFound = true; break pwloop; }
481482 counter++;
482483 }
483- }
484+ }
485+ if (pwdFound)
486+ {
487+ log("\r\nPassword found: \"" + pwd + "\"\r\n", false, true, true, false, false);
488+ }
489+ else
490+ {
491+ log("\r\nPassword not found\r\n", false, true, true, false, false);
492+ }
484493 }
485494 catch (IOException ex) { log("Files.readAllLines(" + dictFileFCPath.path + ");" + ex.getMessage(), false, true, true, true, false); }
486495 allDataStats.setAllDataEndNanoTime(); allDataStats.clock();