defaultnamehere / cookie_crimes

Read local Chrome cookies without root or decrypting
https://mango.pdf.zone/stealing-chrome-cookies-without-a-password
MIT License
610 stars 79 forks source link

Check for alternative names for Chrome Linux binary, don't crash if unable to kill Chrome process #2

Closed c0llision closed 5 years ago

c0llision commented 5 years ago

On my Arch Linux install, the chrome command is: google-chrome-stable. Also the program crashed when trying to kill the Chrome process.

This change checks for alternative names of the chrome command and also prints an error if it's unable to kill the Chrome process.

Probably you should find a more reliable way to determine the chrome pid.