Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 a 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?

share|improve this question
    
Questions about the way the StackOverflow sites are working should be on meta.stackoverflow.com . Voting to migrate it there. –  Gnoupi Jan 18 '10 at 10:03
2  
Gnoupi, I see your point, but the process could apply to any site, hence valid for SU? Mind, I don't have an answer! –  outsideblasts Jan 18 '10 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 –  David Pearce Jan 18 '10 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 '10 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 '10 at 12:01

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.