in reply to Re: Is it possible to use other browser's cookies ?
in thread Is it possible to use other browser's cookies ?

I found the cookie file , but when I run the script , HTTP::Cookies complains about the file :

/root/.mozilla/firefox/y71ji1db.default/cookies.txt does not seem to contain cookies at /usr/lib/perl5/site_perl/5.8.8/HTTP/Cookies.pm line 426, <FILE> line 1.

Replies are listed 'Best First'.
Re^3: Is it possible to use other browser's cookies ?
by daxim (Curate) on Jul 14, 2007 at 20:07 UTC
    This is a symptom of that your perl process cannot read the cookies files, judging from the path, probably because of lacking permission.

    Security advice: Don't browse the web as root, ffs! Use a normal user account.


      The perl process ran as root , so I'm guessing permissions weren't a problem ... I'm not usually running scripts as root , but I was writing this script while on a Live CD .
      Its more likely that the Firefox cookies are in a format HTTP::Cookies can't parse

      just another cpan module author