报错: Warning: file_put_contents(/opt/lampp/htdocs/dorabox/xss/stored_xss.php): failed to open stream: Permission denied in /opt/lampp/htdocs/dorabox/class/function.class.php on line 23 原因: 该存储型漏洞是将输入的内容存储到stored_xss.php中的,所以需要写入的权限,默认是没有开的 解决方法: 切换到stored_xss.php所在目录,然后执行该指令 chmod 777 stored_xss.php