Session spoofing (PHP)

后端 未结 4 1158
不知归路
不知归路 2021-01-11 21:14

I am coding a website in PHP that contains the boolean $_SESSION[\'logged_in\']. This is set to true when a username and password match are present

4条回答
  •  说谎
    说谎 (楼主)
    2021-01-11 22:01

    The only way I can see where this attack would be possible is if there is some other exploit in your code, or if they have access to your server (via another means). Of course, if they have access to your server, they have access to your database, sourcecode, probably web logs, possibly all raw internet traffic including passwords....

提交回复
热议问题