CURL cookie.txt file format


CURL autogenerate file cookie.txt:

# Netscape HTTP Cookie File
# http://curl.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.

www.filefactory.com FALSE / FALSE 0 PHPSESSID 8dcolkh52m2eo4rv61aolurjd7
.filefactory.com TRUE / FALSE 1342341229 ff_referrer_hash HDAgPzI
bitshare.com FALSE / FALSE 0 PHPSESSID qjv4u6g6k20s8brar2o17msk26
bitshare.com FALSE / FALSE 1342401324 last_file_downloaded b5b7gbwq
freakshare.com FALSE /files/9q5hajyh/ FALSE 1341997367 pop 0
freakshare.com FALSE /files/qb4djjwe/ FALSE 1341997777 pop 0
.sendspace.com TRUE / FALSE 0 SID v2j5g30qbv7e1pnrggj91scvo6
.sendspace.com TRUE / FALSE 1420092061 ssui e1ec529601a02c1e5f7867a0981dc36a
www.uploadstation.com FALSE / FALSE 0 PHPSESSID k8g68jsrv5325s2ech5s1ku343
.fileserve.com TRUE / FALSE 0 PHPSESSID o5v8uc5uap39feotra1occ1la7
.depositfiles.com TRUE / FALSE 0 uprand 50e6b69e09474e677862811eab4463be
.filecloud.io TRUE / FALSE 0 sess kr2avsh7j1io9z4xwcgd
rapidgator.net FALSE / FALSE 0 PHPSESSID 3tbm88h8qjqaaeed58mscji8d2
www59.zippyshare.com FALSE / FALSE 0 JSESSIONID F2D369B3665C0B84AA0E7EF357806DC9
www66.zippyshare.com FALSE / FALSE 0 JSESSIONID F45FCFD56CD2F36AA57BAD00025FE3A2
putlocker.com FALSE / FALSE 0 SERVERID w6x
www.putlocker.com FALSE / FALSE 0 PHPSESSID m7rjljen96gobo2sn44ido2ho0
www.putlocker.com FALSE / FALSE 0 SERVERID w4x
netload.in FALSE / FALSE 0 PHPSESSID e937c42549ea2a3c3391f06d9e734eec
.netload.in TRUE / FALSE 1343383415 affiliate_hash JzsXi5g
.extabit.com TRUE / FALSE 0 PHPSESSID 57be3956c763fee9c7f1abce9ab5c639

Basically, you have a line in the file that looks like:

www.someURL.com FALSE / FALSE 0 CNAME value

  • www.someURL.com – The domain that the cookie applies to
  • FALSE – can other webservers within www.someURL.com access this cookie? If there was a webserver at xxx.www.someURL.com, could it see this cookie? If the domain begin with “.”, this value is TRUE
  • / – more restrictions on what paths on www.someURL.com can see this cookie. Anything here and under can see the cookie. / is the least restrictive, meaning that any (and all) requests from www.someURL.com get the cookie header sent.
  • FALSE – Do we have to be coming in on https to send the cookie?
  • 0 – expiration time. zero probably means that it never expires, or that it is good for as long as this session lasts. A number like 1420092061 would correspond to a number of seconds since the epoch (Jan 1, 1970). If this value equal to 0, cookie don’t expire
  • CNAME – The name of the cookie variable that will be send to the server.
  • value – cookie value that will be sent. Might be comma separated list of terms, or could just be a word.. Hard to say. Depends on the server.

Leave a Reply