分多了也没啥用,大家共享呗我怎么看那些COOKIE都看不明白,想把它剖析出来也不知道怎么做!

解决方案 »

  1.   

    要是那么容易找出来,cokkie也就不安全了
      

  2.   

    一般是md5吧?不然就是RSA只有这两种网上常用
      

  3.   

    我想用php就无能为力了!
    也不会是MD5,如果我没记错的话!
    我记得codeguru上的IE部分好象有这个东西,不过当时每看,你去找找!(找不到千万别砍我:))
    cookie的格式给你贴在后面,或许对你有帮助!
    cookie确实不安全,用朔雪就可以伪照cookie!不信你去试试!Set-Cookie Header
    The Set-Cookie response header uses the following syntax:Set-Cookie: <name>=<value>[; <name>=<value>]...
    [; expires=<date>][; domain=<domain_name>]
    [; path=<some_path>][; secure]
    One or more string sequences, separated by semicolons, that follow the pattern <name>=<value> must be included in the Set-Cookie response header. The server can use these string sequences to store data on the client's system.The expiration date is set by using the format expires=<date>, where <date> is the expiration date in Greenwich Mean Time (GMT). If the expiration date is not set, the cookie expires after the Internet session ends. Otherwise, the cookie persists in the cache until the expiration date. The following table shows the expiration date format.
    Format Description 
    DD-MMM-YYYY HH:MM:SS GMT Complete format. 
    DD DD is the day in the month—such as 01 for the first day of the month. 
    MMM MMM is the three-letter abbreviation for the month: (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec). 
    YYYY YYYY is the year. 
    HH:MM:SS GMT HH is the hour value in military time—22 would be 10:00 P.M., for example—MM is the minute value, and SS is the second value. Specifying the domain name, using the pattern domain=<domain_name>, is optional for persistent cookies and is used to indicate the end of the domain for which the cookie is valid. Session cookies that specify a domain are rejected. If the specified domain name ending matches the request, the cookie tries to match the path to determine if the cookie should be sent. For example, if the domain name ending is .microsoft.com, requests to home.microsoft.com and support.microsoft.com would be checked to see if the specified pattern matches the request. The domain name must have at least two or three periods in it to prevent cookies from being set for widely used domain name endings, such as .com and .edu. Acceptable domain names would be similar to .microsoft.com, .someschool.edu, and .someserver.co.jp. Only hosts within the specified domain can set a cookie for a domain.Setting the path, using the pattern path=<some_path>, is optional and can be used to specify a subset of the URLs for which the cookie is valid. If a path is specified, the cookie is considered valid for any requests that match that path. For example, if the specified path is /example, requests with the paths /examplecode and /example/code.htm would match. If no path is specified, the path is assumed to be the path of the resource associated with the Set-Cookie header.The cookie can also be ed as secure, which specifies that the cookie can be sent only to HTTPS servers.Cookie Header
    The Cookie header is included with any HTTP requests that have a cookie whose domain and path match the request. The Cookie header has the following syntax:Cookie: <name>=<value> [;<name>=<value>]...
    One or more string sequences, using the format <name>=<value>, contain the data that was set in the cookie.
      

  4.   

    据说大名鼎鼎的ubb是用的md5()
      

  5.   

    zxyufan(宇凡)
    他是用md5()加密后存为cookie(),也就是先用MD5()加密,然后再加密成cookie;
    而cookie()不是用MD5()这么简单的,要不然cookie()岂部谁都可以伪照了!
    cookie()是netscape规定的格式,你去他的站点找找资料吧!
      

  6.   

    不过说实在的~我从来不用cookie~不保险~
      

  7.   

    应该就是RSA吧?RSA加密连接双方的密钥,密钥加密DES加密的内容