Results 1 to 2 of 2

Thread: Info on cookies

  1. #1
    Just burned his ISO Shinta's Avatar
    Join Date
    May 2010
    Posts
    2

    Default Info on cookies

    ok i have some cookies. what can i use to read, decrypt, emulate.

    Ive searched the forums, probally not enough but im looking. but are there any good know guide to use if you want to use cookies you allready have

  2. #2
    Super Moderator lupin's Avatar
    Join Date
    Jan 2010
    Posts
    2,943

    Default Re: Info on cookies

    Judging by your question I'd suggest you probably need to spend some time researching what cookies are, how they work and how they are used. I'll answer this question, but the answer may not make that much sense to you unless you understand the context.

    Cookies are transmitted in HTTP headers in plain text, so you can read them with a text editor if you want, but common ways to read them as part of the HTTP session are to use an intercepting proxy or some sort of browser extension (Cookie Safe, Add and Edit Cookies, etc). You can also grab persistent cookies from disk.

    Removing encoding or encryption will be application specific, and while there are some common standards for doing this (e.g. Base64), you really need to know how the associated web application generated them or you will need to reverse engineer the encoding/encryption yourself (perhaps using some good guesswork based on those common standards mentioned earlier). Encryption can also be performed at the protocol level (e.g. https), in which case you need to decrypt that before you can access the cookies.

    Emulating cookies is done by just copying them using an appropriate method. Use an intercepting proxy to insert them in (more efficient if you use a Set Cookie directive in the modified response from a server), or use a Cookie editor to add them at the browser.

    Edit: For anyone else coming across this thread a really good reference for learning about cookies is here.
    Last edited by lupin; 06-29-2010 at 06:32 AM.
    Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".

    The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.

Similar Threads

  1. clear cookies or something whit ettercap
    By squashen in forum Beginners Forum
    Replies: 6
    Last Post: 06-18-2010, 03:59 PM
  2. Visual Basic 2008 Cookies
    By Onin42 in forum OLD Programming
    Replies: 0
    Last Post: 02-03-2010, 01:50 AM
  3. ripping pages with curl cookies and spidermonkey
    By opreat0r in forum OLD Tutorials and Guides
    Replies: 0
    Last Post: 04-24-2008, 03:32 AM
  4. wifzoo capuring ssids but not cookies or ftp data
    By AK-49 in forum OLD Newbie Area
    Replies: 0
    Last Post: 01-07-2008, 04:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •