exploit the possibilities

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
MD5 | 65e491064e613406abdafdebb495ef85

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;
}

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

February 2020

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close