Skip to content

Commit f951aa6

Browse files
Updated signature (v0.1.2) and set char length to 5
1 parent 3956ad9 commit f951aa6

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

src/common/online.c

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -586,11 +586,13 @@ int online_from_files_coverage(char *start_path, char *end_path, int pwd_length)
586586
int main(int argc, char *argv[]) {
587587

588588
if (argc < 5) {
589-
printf("Error: not enough arguments given.\nUsage: 'online startpath endpath -p password', where:"
589+
printf("Error: too many arguments given.\nUsage: 'online startpath endpath -p password', where:"
590590
"\n - startpath is the path to the start points file."
591591
"\n - endpath is the path to the end points file."
592592
"\n - password is the plain text password you're looking to crack. The program will thus hash it first, then try to crack it."
593-
"\nOther usage: 'online startpath endpath -h hash', where hash is the NTLM hash you're looking to crack.\n\n");
593+
"\nOther usage: 'online startpath endpath -h hash', where hash is the NTLM hash you're looking to crack."
594+
"\nOther usage: 'online startpath endpath -c none', where none is any string."
595+
"\n\n");
594596
exit(1);
595597
}
596598

@@ -599,11 +601,13 @@ int main(int argc, char *argv[]) {
599601
"\n - startpath is the path to the start points file."
600602
"\n - endpath is the path to the end points file."
601603
"\n - password is the plain text password you're looking to crack. The program will thus hash it first, then try to crack it."
602-
"\nOther usage: 'online startpath endpath -h hash', where hash is the NTLM hash you're looking to crack.\n\n");
604+
"\nOther usage: 'online startpath endpath -h hash', where hash is the NTLM hash you're looking to crack."
605+
"\nOther usage: 'online startpath endpath -c none', where none is any string."
606+
"\n\n");
603607
exit(1);
604608
}
605609

606-
printf("GPUCrack v0.1.1\n"
610+
printf("GPUCrack v0.1.2\n"
607611
"<https://github.com/gpucrack/GPUCrack/>\n\n");
608612

609613
const char *start_path = argv[1];

src/gpu/commons.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "commons.cuh"
22

33
__host__ void printSignature() {
4-
printf("GPUCrack v0.1.1\n"
4+
printf("GPUCrack v0.1.2\n"
55
"<https://github.com/gpucrack/GPUCrack/>\n\n");
66
}
77

src/gpu/constants.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#define HASH_LENGTH 16
88

99
// The length of a password.
10-
#define PASSWORD_LENGTH 7
10+
#define PASSWORD_LENGTH 5
1111

1212
// How many thread per block to launch the hashKernel
1313
// MUST BE A POWER OF 2

0 commit comments

Comments
 (0)