美文网首页
ctf $_post

ctf $_post

作者: 小七饮酒 | 来源:发表于2018-11-09 21:01 被阅读0次
    $_post QQ截图20181109204722.png

    打开网络连接

    会得到代码

    <?php
    include "flag.php";
    error_reporting(0);
    $what=$_POST['what'];
    if($what=='flag')
    echo $flag;
    highlight_file(__FILE__);
    ?> 
    

    根据代码,我们知道需要用post方式进入网址

    我用的是火狐浏览器,我们需要hackbar插件 QQ截图20181109205716.png 然后我们会得到flag QQ截图20181109210035.png

    黑体字就是我们要的flag

    相关文章

      网友评论

          本文标题:ctf $_post

          本文链接:https://www.haomeiwen.com/subject/nuqaxqtx.html