Muskovitz has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks,
Is there a way to view/read all cookie/cookies stored from the browser?

Thanks in advance.
  • Comment on Is there a way to extract all cookies from a browser?

Replies are listed 'Best First'.
Re: Is there a way to extract all cookies from a browser?
by Corion (Patriarch) on Aug 02, 2016 at 06:56 UTC

    Have you searched CPAN for Cookies? It shows a lot of modules that can extract cookies from a browser.

Re: Is there a way to extract all cookies from a browser?
by RonW (Parson) on Aug 02, 2016 at 00:54 UTC

    That is a browser question. You will need to research how your preferred browser stores cookies.

    I recall that FireFox, at one time, stored cookies in an SQLite database file. If it still does that, there are several CPAN modules that can help you read an SQLite datebase file.

    I don't know about other browsers.

Re: Is there a way to extract all cookies from a browser?
by Marshall (Canon) on Aug 02, 2016 at 01:30 UTC
    Firefox does indeed store its cookies in an SQlite DB. A add-on for firefox: sqlite manager will default to showing you the installed DB's. Mileage will vary between browsers. Each will have its own separate cookie DB.

    SQLite is probably the most used DB in the world. The Perl DBI can access this with standard SQL.

    Update: I am currently working on an SQLite DB project. The firefox add-in that I recommended is great and I use it every day now.

Re: Is there a way to extract all cookies from a browser?
by Mandrake (Chaplain) on Aug 02, 2016 at 01:40 UTC
Re: Is there a way to extract all cookies from a browser?
by LanX (Saint) on Aug 02, 2016 at 00:41 UTC
    Dear monk,

    You have a long record of poorly phrased and off topic questions.

    Please try to show some efforts when asking, otherwise don't be surprised about the non constructive reactions, because people don't want to speculate what you mean.

    Btw the answer is: "it depends"

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

Re: Is there a way to extract all cookies from a browser?
by Anonymous Monk on Aug 02, 2016 at 00:26 UTC

    Yes

    A browser can read its cookies, so something else can read them also

    :D