daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest Apr 17th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <crypt.h>
  3.  
  4. int main(){
  5.   char salt[] = "hq";
  6.   char *head = "\x71\x68\x63\x67";
  7.   char key[9];
  8.   for(char c1='0'; c1 <= 'z'; c1++){
  9.   for(char c2='0'; c2 <= 'z'; c2++){
  10.   for(char c3='0'; c3 <= 'z'; c3++){
  11.   for(char c4='0'; c4 <= 'z'; c4++){
  12.     sprintf(key, "%s%c%c%c%c",head,c1,c2,c3,c4);
  13.     puts(crypt(key,salt));
  14.     printf("%s\n",key);
  15.   }
  16.   }
  17.   }
  18.   }
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top