上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 一、zip伪协议 原理: 当通过zip://伪协议解析这个压缩文件时,通过#对zip内部的压缩文件(如上面的shell.txt)进行索引,这时整个文件流被定位到shell.txt的文件流,所以include实际上包含的是shell.txt (1)shell.txt写入<?php @eval($_PO 阅读全文
posted @ 2026-06-18 13:01 Doll_Marker 阅读(11) 评论(0) 推荐(0)
摘要: <?php highlight_file(__FILE__); include("./check.php"); if(isset($_GET['filename'])) { $filename = $_GET['filename']; include($filename); } ?> 题目源码如上 阅读全文
posted @ 2026-06-18 13:00 Doll_Marker 阅读(6) 评论(0) 推荐(0)
摘要: 参考文章:利用pearcmd.php本地文件包含姿势学习 | 休比大王 在 Web 环境下,如果开启了 register_argc_argv=on,HTTP 数据包中的 Query-String(查询字符串)就会被作为 $_SERVER['argv'] 的值 可以用它来包含 PHP 的命令行工具文件 阅读全文
posted @ 2026-06-18 13:00 Doll_Marker 阅读(17) 评论(0) 推荐(0)
摘要: $text = $_GET["text"]; if(file_get_contents($text,'r') "welcome to the zjctf")) 输入?text=data://text/plain,welcom to the zjctf 不可以直接输入?text=welcom to t 阅读全文
posted @ 2026-06-18 13:00 Doll_Marker 阅读(6) 评论(0) 推荐(0)
摘要: convert.iconv filter学习 使用php://filter将任意文件转换成Webshell 前提:include可控,支持php://filter伪协议和convert.iconv (1)一些常见的过滤器就不在这里提起了,这里主要是利用各种convert.iconv的 Filter来 阅读全文
posted @ 2026-06-18 13:00 Doll_Marker 阅读(7) 评论(0) 推荐(0)
摘要: 对于include相对路径的解析(实测file_get_contents也差不多) include('../../flag.php')和include('../../../flag.php')都能访问flag.php,因为当../到达到根目录时就会停止,即使有再多的../也不会向上,而是停留在根目录 阅读全文
posted @ 2026-06-18 13:00 Doll_Marker 阅读(12) 评论(0) 推荐(0)
摘要: <?php $content = '<?php exit(); ?>' . $_POST['data']; file_put_contents($file, $content); include($file); ?> 攻击载荷: data=php://filter/write=convert.ico 阅读全文
posted @ 2026-06-18 13:00 Doll_Marker 阅读(7) 评论(0) 推荐(0)
摘要: // 使用 data:// 协议直接传入字符串 $text = "data://text/plain,welcome to the zjctf"; echo file_get_contents($text); // 使用 php://filter 对文件进行 Base64 编码读取 $file = 阅读全文
posted @ 2026-06-18 13:00 Doll_Marker 阅读(9) 评论(0) 推荐(0)
摘要: 代码段一 : try { Jwt jwt = Jwts.parser().setSigningKey(JWT_PASSWORD).parseClaimsJws(accessToken); Claims claims = (Claims) jwt.getBody(); String user = (S 阅读全文
posted @ 2026-06-18 12:42 Doll_Marker 阅读(9) 评论(0) 推荐(0)
摘要: 已知给了一段完整的jwt,如下:(Header.payload.signature) eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdXRoIjoxNzY5OTUzNjU4ODU2LCJhZ2VudCI6Ik1vemlsbGEvNS4wIChXaW5kb3dzIE 阅读全文
posted @ 2026-06-18 12:42 Doll_Marker 阅读(24) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页