You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've attached the digest file that I've been using which contains the \r characters in some of the filenames for the digests: Win32.MuddyWaterC.txt.zip
Note that the original, non-digested file is actual malware so be cautious if you decide to create the digest directly. Within the Win32.MuddyWaterC archive, there are three files with the name "Icon\r", within the core/, lib/, and lib/web/ directories.
When running the compare mode of jLZJD between the digest file and another digest file, the following error appears:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: begin 5, end 4, length 49
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
at java.base/java.lang.String.substring(String.java:1874)
at com.edwardraff.jlzjd.Main.readHashesFromFile(Main.java:190)
at com.edwardraff.jlzjd.Main.run(Main.java:115)
at com.edwardraff.jlzjd.Main.main(Main.java:85)
Renaming the three Icon files to remove the \r character and creating a new digest file results in the above error going away and the program running normally.
The text was updated successfully, but these errors were encountered:
Can you attach the digest file that is created? I'm guessing its because the \r in the name makes a new line in the file, and the readHashesFromFile pareses by new lines.... \r in a file name is evil.
The first link in the issue should have the digest file. I zipped it thinking that the \r was causing issues with Github, but I think it actually turned out to just be my script blocker. Let me know if you have issues getting it.
I've attached the digest file that I've been using which contains the \r characters in some of the filenames for the digests:
Win32.MuddyWaterC.txt.zip
Attached is the digest file created by digesting the malware archive obtained from TheZoo here: https://github.com/ytisf/theZoo/blob/master/malwares/Source/Original/Win32.MuddyWaterC/Win32.MuddyWaterC.zip
Note that the original, non-digested file is actual malware so be cautious if you decide to create the digest directly. Within the Win32.MuddyWaterC archive, there are three files with the name "Icon\r", within the core/, lib/, and lib/web/ directories.
When running the compare mode of jLZJD between the digest file and another digest file, the following error appears:
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: begin 5, end 4, length 49
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
at java.base/java.lang.String.substring(String.java:1874)
at com.edwardraff.jlzjd.Main.readHashesFromFile(Main.java:190)
at com.edwardraff.jlzjd.Main.run(Main.java:115)
at com.edwardraff.jlzjd.Main.main(Main.java:85)
Renaming the three Icon files to remove the \r character and creating a new digest file results in the above error going away and the program running normally.
The text was updated successfully, but these errors were encountered: