decrypt chrome cookie in javascript way
npm install chrome-cookie-finder
var finder = require('chrome-cookie-finder')
finder('http://www.baidu.com', function(err, cookie, fullCookieInfo) {
if (err) {
return console.log(err)
}
console.log('cookie: ', cookie)
console.log('fullCookieInfo: ', fullCookieInfo)
})
var finder = require('chrome-cookie-finder')
async function main() {
const { cookies, fullCookieInfo } = await finder('http://www.baidu.com');
}
Inspired By https://n8henrie.com/2014/05/decrypt-chrome-cookies-with-python