HTB-LoveTok题解
# 0x01 信息收集 index.php 调用 TimeControler ,然后传参 format 给 TimeModel ,接着进行 ```addslashes () 函数调用,然后调用 getTime () ,里面有一个 eval` 命令执行,这也就是漏洞所在! TimeModel <?php class TimeModel{ public function __construct($format) { $this->format = addslashes($format); [ $d, $h, $m, $s ] = [...
more...








