what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

gg_crack.c

gg_crack.c
Posted Apr 18, 2005
Authored by Aleksander Ambrozkiewicz

Utility to decrypt stored passwords for the "Gadu-Gadu" Polish-language chat program.

tags | encryption
SHA-256 | 9f2dfed7520e70d6af10fd7c6400092d3c95d885d27e8c23c210487c8196ea89

gg_crack.c

Change Mirror Download
/*
** gg_crack.c by konewka <alek.ambrozkiewicz@gmail.com>
**
** This utility let you decrypt passwords from Gadu-Gadu config file.
*/
#include <stdio.h>

struct {
char *coded;
int decoded;
} codes[] = {
{ "AC", ' ' },
{ "BE", 'A' },
{ "CE", 'B' },
{ "DE", 'C' },
{ "EE", 'D' },
{ "FE", 'E' },
{ "GE", 'F' },
{ "HE", 'G' },
{ "IE", 'H' },
{ "JE", 'I' },
{ "KE", 'J' },
{ "LE", 'K' },
{ "ME", 'L' },
{ "NE", 'M' },
{ "OE", 'N' },
{ "PE", 'O' },
{ "AF", 'P' },
{ "BF", 'Q' },
{ "CF", 'R' },
{ "DF", 'S' },
{ "EF", 'T' },
{ "FF", 'U' },
{ "GF", 'V' },
{ "HF", 'W' },
{ "IF", 'X' },
{ "JF", 'Y' },
{ "KF", 'Z' },
{ "BG", 'a' },
{ "CG", 'b' },
{ "DG", 'c' },
{ "EG", 'd' },
{ "FG", 'e' },
{ "GG", 'f' },
{ "HG", 'g' },
{ "IG", 'h' },
{ "JG", 'i' },
{ "KG", 'j' },
{ "LG", 'k' },
{ "MG", 'l' },
{ "NG", 'm' },
{ "OG", 'n' },
{ "PG", 'o' },
{ "AH", 'p' },
{ "BH", 'q' },
{ "CH", 'r' },
{ "DH", 's' },
{ "EH", 't' },
{ "FH", 'u' },
{ "GH", 'v' },
{ "HH", 'w' },
{ "IH", 'x' },
{ "JH", 'y' },
{ "KH", 'z' },
{ "AD", '0' },
{ "BD", '1' },
{ "CD", '2' },
{ "DD", '3' },
{ "ED", '4' },
{ "FD", '5' },
{ "GD", '6' },
{ "HD", '7' },
{ "ID", '8' },
{ "JD", '9' },
{ NULL, 0 },
};

int main(int argc, char *argv[]) {
int i, j;

if (!argv[1]) {
printf("%s <password2>\n", argv[0]);
return 0;
}

for (i=0;i<strlen(argv[1]);i+=2) {
for (j=0;codes[j].coded;j++) {
if ((argv[1][i] == codes[j].coded[0]) && (argv[1][i+1] == codes[j].coded[1]))
putchar(codes[j].decoded);
}
}

putchar('\n');
return 0;
}
Login or Register to add favorites

File Archive:

November 2022

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    16 Files
  • 2
    Nov 2nd
    17 Files
  • 3
    Nov 3rd
    17 Files
  • 4
    Nov 4th
    11 Files
  • 5
    Nov 5th
    0 Files
  • 6
    Nov 6th
    0 Files
  • 7
    Nov 7th
    3 Files
  • 8
    Nov 8th
    59 Files
  • 9
    Nov 9th
    12 Files
  • 10
    Nov 10th
    6 Files
  • 11
    Nov 11th
    11 Files
  • 12
    Nov 12th
    1 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    9 Files
  • 15
    Nov 15th
    33 Files
  • 16
    Nov 16th
    53 Files
  • 17
    Nov 17th
    11 Files
  • 18
    Nov 18th
    14 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    26 Files
  • 22
    Nov 22nd
    22 Files
  • 23
    Nov 23rd
    10 Files
  • 24
    Nov 24th
    9 Files
  • 25
    Nov 25th
    11 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By
Rokasec
close