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?

fixer1234
  • 28,064
deostroll
  • 1,895

1 Answers1

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.