MGR: Support cookie detection on newer versions of chrome.

This commit is contained in:
Rom Walton 2014-10-05 18:23:45 +02:00
parent 63ab243996
commit 13654e3b70
1 changed files with 6 additions and 1 deletions

View File

@ -812,7 +812,12 @@ bool detect_cookie_chrome(
rc = sqlite3_open(tmp.c_str(), &db);
if ( rc ) {
sqlite3_close(db);
return false;
tmp = profile_root + "Safe Browsing Cookies";
rc = sqlite3_open(tmp.c_str(), &db);
if ( rc ) {
sqlite3_close(db);
return false;
}
}
// construct SQL query to extract the desired cookie