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
Copy file name to clipboardExpand all lines: README.md
+6-8
Original file line number
Diff line number
Diff line change
@@ -9,20 +9,18 @@ This program is a commandline-utility that needs four parameters:
9
9
2.\[Charset-String\]: String Containing the characters to use. Example: "0123456789" to test numerical passwords
10
10
3.\[MIN LENGTH\]: The shortest combination to test. Example: "2"
11
11
4.\[MAX LENGTH\]: The longest combination to test. Example: "8"
12
+
5. {output}: Adding 'output' to the end of the command will display every password tried. This slows down execution!
12
13
13
14
The parameters have to be supplied in the same order as specified above!
14
15
15
-
Example usage: `dotnet ZipCrackNetCore.dll /home/myaccount/pron.zip abcdefghijklmnopqrstuvwxyz 5 8` would test passwords with 5 to 8 characters consisting of all lowercase letters against the file "pron.zip"
16
+
Example usage: `dotnet ZipCrackNetCore.dll /home/myaccount/pron.zip abcdefghijklmnopqrstuvwxyz 5 8 output` would test passwords with 5 to 8 characters consisting of all lowercase letters against the file "pron.zip" and print all the tries.
16
17
17
-
The programm will either tell you the password or inform you that no password has been found. Progress is not visualized.
18
+
The programm will either tell you the password or inform you that no password has been found. Progress is not visualized unless {output} is used.
18
19
19
20
# How it works
20
21
21
-
1. The program figures out how many Threads to use. By default, the amount is equal to the amount of logical cores available. If the amount of password lengths to test is smaller than the number of logical cores available, it is used instead (e.g. 8 Cores, Passwords with 5 to 8 characters -> 4 Threads).
22
+
1. The program figures out how many Threads to use. By default, the amount is equal to the amount of logical cores available times 1.5 plus one additional Thread for creating the combinations.
22
23
2. The program creates one copy of the ZIP-File for each thread in a temporary folder.
23
-
3. The program starts the amount of Threads it wants to use (Shorter Combinations are tried before longer ones)
24
-
4. When a thread finishes
25
-
- A new thread is started if there are combinations left to try and no password has been found
26
-
- All threads are cancelled if a password has been found
27
-
- The program is done if the thread with the longest combination has finished
24
+
3. The program starts the amount of Threads it wants to use.
25
+
4. The program stops when a password is found or all combinations have been tried.
0 commit comments