узнаем пароль из qutim

Dec 15, 2010 23:20

Забыл свой пароль на аську, рабочая машина имеет сохраненный пароль. Нашел как выдрать 8)
qutim хранит мой пароль по адресу C:/%APPDATA%/qutim/qutim.YOUR_USER/ICQ.YOUR_UIN/accountsettings.ini

[main]
password=@ByteArray(CR'3\xb2L)

Исходник, который поможет "вспомнить" (с) :

//#######################################################################################################
#include

char str[] = "CR'3\xb2L";
const char crypter[] = {0x10, 0x67, 0x56, 0x78, 0x85, 0x14, 0x87, 0x11, 0x45, 0x45, 0x45, 0x45, 0x45, 0x45};

int main(){
        int i = 0;
        char *p = str;

printf("Password [encrypted] [ascii]:\t%s\n", str);
        for (i = 0; i < sizeof(str) - 1; i++){
                *p = *p ^ crypter[i];
                p++;
        }

printf("Password [decrypted] [hex]:\t");
        for (i = 0; i < sizeof(str) - 1; i++){
                printf("%#2x ",(unsigned char) str[i]);
        }
        printf("\n");

printf("Password [decrypted] [ascii]:\t%s\n", str);

return 0;
}
//#######################################################################################################

После чего собираем. Запускаем. Радуемся.

$g++ qutim.cpp -o qutim
$ ./qutim
Password [encrypted] [ascii]:   CR'3▒L
Password [decrypted] [hex]:     0x53 0x35 0x71 0x4b 0x37 0x58
Password [decrypted] [ascii]:   S5qK7X

qutim

Previous post Next post
Up