开发者

getting session names from any website?

开发者 https://www.devze.com 2023-03-02 17:25 出处:网络
Is it possible to find out if any website is declaring $_SESSIO开发者_如何转开发N? If so, get a list of $_SESSION name?If by \"session name\" you mean \"the name of a cookie used to hold the token th

Is it possible to find out if any website is declaring $_SESSIO开发者_如何转开发N?

If so, get a list of $_SESSION name?


If by "session name" you mean "the name of a cookie used to hold the token that associates a session with a browser" then make an HTTP request to the site, see if you get a cookie back, apply some heuristics to guess if it is a session token or some other piece of data.

Flaws:

  • You will be guessing
  • The site might not start a session for every request

If you mean "The pieces of data that are stored in the session", then that is impossible. The data is kept entirely on the server and only the session id token is given to the client — that is the point of sessions.


Nope. It is not possible......

0

精彩评论

暂无评论...
验证码 换一张
取 消