Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reading Chrome cookies from command line

Is it possible to read "Cookies and Site data", from command line (programatically).

Chrome allows us to look at the "Cookies and Site data" by navigating to Settings-> Privacy Settings -> Cookies.

Is it possible to read that data through a command line script?

like image 424
user462455 Avatar asked May 07 '15 19:05

user462455


People also ask

How do I open Chrome from command line?

Open Chrome Using Command Prompt You can also do the same thing from the “Run” window. Open Run by typing “Run” in the Windows 10 search bar and selecting the “Run” application. Here, type Chrome and then select the “OK” button. The web browser will now open.

Does Chrome have a command line?

If you are wondering "What is Crosh?," it's a built-in terminal that Chromebooks have. This terminal, known as the Chrome OS Developer Shell—or Crosh for short—lets you access a command-line interface that you can use to debug your machine, run tests, or just poke around for fun.


1 Answers

You did not specify which OS are you using. I found a script for OS X that claim doing what you want, give it a try: Simple script to extract (encrypted) cookies out of Chrome OS X cookie store. If you are using Linux, you may need to dig in the script and make some changes for it to work with your distribution.

like image 150
Ahmed salah Avatar answered Sep 20 '22 11:09

Ahmed salah