Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <crypt.h>
- int main(){
- char salt[] = "hq";
- char *head = "\x71\x68\x63\x67";
- char key[9];
- for(char c1='0'; c1 <= 'z'; c1++){
- for(char c2='0'; c2 <= 'z'; c2++){
- for(char c3='0'; c3 <= 'z'; c3++){
- for(char c4='0'; c4 <= 'z'; c4++){
- sprintf(key, "%s%c%c%c%c",head,c1,c2,c3,c4);
- puts(crypt(key,salt));
- printf("%s\n",key);
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment