From 9dd391e1085f2ef75261237ae61bc96e85258c39 Mon Sep 17 00:00:00 2001
From: aneesh <achattaraj@student.unimelb.edu.au>
Date: Fri, 24 May 2019 17:35:54 +1000
Subject: [PATCH] yo

---
 crack.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/crack.c b/crack.c
index 84b7033..ce93287 100644
--- a/crack.c
+++ b/crack.c
@@ -52,7 +52,7 @@ SHA256_CTX ctx;
 
   } 
 }
-void variations(char *word_list_file, int hashes[30][32],int status)
+void variations(char *word_list_file, int hashes[30][32])
 {
   SHA256_CTX ctx;
     BYTE buffer[SHA256_BLOCK_SIZE];
@@ -63,7 +63,7 @@ void variations(char *word_list_file, int hashes[30][32],int status)
     word_list=fopen(word_list_file, "rb");
 
     while ( fgets(password, 7, word_list) != '\0'){
-      if (count==30 && status!=3)
+      if (count==30)
       {
         break;
       }
@@ -391,7 +391,7 @@ void crack6(char *word_list_file, int hashes[30][32])
        b++;
    }
    crack6("100k_passwords.txt",hashes);
-   variations("common_passwords1.txt",hashes,0);
+   variations("common_passwords1.txt",hashes);
    printRandomString(hashes);
 
    
@@ -435,7 +435,7 @@ if (argc==3)
        b++;
    }
    crack6(argv[2],hashes);
-   variations("common_passwords1.txt",hashes,3);
+   variations("common_passwords1.txt",hashes);
    
 
 
-- 
GitLab