摘要: 代码还是那个代码,这次没有写文件的权限了。这次思路是:我们先POST一个文件,然后执行php临时文件目录下的我们上传的文件即可。 该文件一般存放在/tmp/??????下。 脚本如下: import requests import time url = "http://98985a2d-d3a6-4 阅读全文
posted @ 2022-11-08 22:01 hithub 阅读(81) 评论(0) 推荐(0) 编辑
摘要: $cmd = $_POST['cmd']; if(strlen($cmd) <= 7){ shell_exec($cmd); } 脚本如下: import requests import time url = "http://c85490d2-f0fc-4ed5-86a1-6ee92355718a. 阅读全文
posted @ 2022-11-08 21:57 hithub 阅读(91) 评论(0) 推荐(0) 编辑
摘要: if(strlen($_FILES['file']['tmp_name'])>0){ $filetype = $_FILES['file']['type']; $tmpname = $_FILES['file']['tmp_name']; $ef = getimagesize($tmpname); 阅读全文
posted @ 2022-11-08 11:57 hithub 阅读(108) 评论(0) 推荐(0) 编辑