2

I am unable to login to certain websites (such as StackOverflow) because the login URL is getting blocked (not the whole website) via a firewall.

Is it possible to copy the cookie file from another computer that is already logged into StackOverflow to this firewalled computer to trick the website that it is already authenticated and logged in?

Can this be done? If so, how?

5
  • Questions about the way the StackOverflow sites are working should be on meta.stackoverflow.com . Voting to migrate it there.
    – Gnoupi
    Jan 18, 2010 at 10:03
  • 3
    Gnoupi, I see your point, but the process could apply to any site, hence valid for SU? Mind, I don't have an answer! Jan 18, 2010 at 10:19
  • @Gnoupi, although this question refers to stackoverflow, it is actually about moving cookies from computer-to-computer, which is completely independent of SOFU
    – Josh Hunt
    Jan 18, 2010 at 10:57
  • I tend to agree with outsideblasts, though I would like Deostroll to make the question a little more readable...
    – Ivo Flipse
    Jan 18, 2010 at 10:58
  • @joshhunt and @outsideblasts - Sorry, I thought that it was depending on the site, so that it wouldn't apply to other sites. My knowledge in this matter is very thin ;-)
    – Gnoupi
    Jan 18, 2010 at 12:01

1 Answer 1

2

Firefox cookies are stored in the files cookies.sqlite and cookies.sqlite-journal in the folder

%APPDATA%\Mozilla\Firefox\Profiles\<profile>

where %APPDATA% is an environment variable that holds the path of the user's application data folder (which varies between Windows versions and languages), and <profile> is the name of the profile, which has a "random" component and ends with the profile name; if you don't have multiple Firefox profiles, there should be only one directory.

However, this means you cannot copy individual cookies, only the entire cookie database; and I am not 100% sure that simply copying the files will work.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .