illera88 / GCC-stealer

Google Chrome Cookies Stealer. Steals Chrome cookies
36 stars 6 forks source link

Decrypt error #13

Open jerry8219cool opened 6 months ago

jerry8219cool commented 6 months ago

Hello please help me. I see error “CryptUnprotectData failed decrypting encrypted_key”

I use windows 10, I have file cookie.file on base chromium browser! Please help me my telegram @etopupsik

illera88 commented 5 months ago

Hi,

Sorry for the late response. For whatever reason CryptUnprotectData is failing? Are you sure you are passing a well formatted chrome DB? Are you running GCC-stealer in the same system the DB has been created?

You can try to get the error that CryptUnprotectData generates by calling GetLastError():

if (!CryptUnprotectData(&input, nullptr, nullptr, nullptr, nullptr,
            0, &output)) {
            std::cerr << "[!] CryptUnprotectData failed decrypting encrypted_key. Error number: " << GetLastError() << std::endl;
            exit(-1);
        }