上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: //拼接sql语句查找指定ID用户 $sql = "select id,username,password from ctfshow_user where username !='flag' and id = '".$_GET['id']."' limit 1;"; //对传入的参数进行了过滤 fu 阅读全文
posted @ 2022-10-24 08:42 hithub 阅读(119) 评论(0) 推荐(0) 编辑
摘要: <?php highlight_file(__FILE__); class ease{ private $method; private $args; function __construct($method, $args) { $this->method = $method; $this->arg 阅读全文
posted @ 2022-10-22 11:02 hithub 阅读(416) 评论(0) 推荐(0) 编辑
摘要: if(isset($_POST['ctf'])){ $ctfshow = $_POST['ctf']; if(!preg_match('/^[a-z0-9_]*$/isD',$ctfshow)) { $ctfshow('',$_GET['show']); } } 首先第一个知识点: 正则绕过很明显, 阅读全文
posted @ 2022-10-20 19:34 hithub 阅读(231) 评论(0) 推荐(0) 编辑
摘要: if(isset($_GET['v1']) && isset($_GET['v2']) && isset($_GET['v3'])){ $v1 = (String)$_GET['v1']; $v2 = (String)$_GET['v2']; $v3 = (String)$_GET['v3']; i 阅读全文
posted @ 2022-10-20 19:00 hithub 阅读(71) 评论(0) 推荐(0) 编辑
摘要: if(isset($_GET['v1']) && isset($_GET['v2']) && isset($_GET['v3'])){ $v1 = (String)$_GET['v1']; $v2 = (String)$_GET['v2']; $v3 = (String)$_GET['v3']; i 阅读全文
posted @ 2022-10-20 17:08 hithub 阅读(214) 评论(0) 推荐(0) 编辑
摘要: function check($x){ if(preg_match('/\\$|\.|\!|\@|\#|\%|\^|\&|\*|\?|\{|\}|\>|\<|nc|wget|exec|bash|sh|netcat|grep|base64|rev|curl|wget|gcc|php|python|pi 阅读全文
posted @ 2022-10-20 14:23 hithub 阅读(222) 评论(0) 推荐(0) 编辑
摘要: if($F = @$_GET['F']){ if(!preg_match('/system|nc|wget|exec|passthru|netcat/i', $F)){ eval(substr($F,0,6)); }else{ die("6个字母都还不够呀?!"); } } get传参 F=`$F 阅读全文
posted @ 2022-10-20 11:05 hithub 阅读(407) 评论(0) 推荐(0) 编辑
摘要: if(isset($_POST['f'])){ //$f = (String)$_POST['f']; if(preg_match('/.+?ctfshow/is', $f)){ die('bye!'); } if(stripos($f,'36Dctfshow') FALSE){ die('bye! 阅读全文
posted @ 2022-10-19 21:10 hithub 阅读(114) 评论(0) 推荐(0) 编辑
摘要: if(isset($_GET['f'])){ $f = $_GET['f']; if(stripos($f, 'ctfshow')>0){ echo readfile($f); } } 用php伪协议绕过,filter伪协议支持多种编码方式,无效的就被忽略掉了。 payload:?f=php://f 阅读全文
posted @ 2022-10-19 20:33 hithub 阅读(245) 评论(0) 推荐(0) 编辑
摘要: _()是一个函数 _()==gettext() 是gettext()的拓展函数,开启text扩展。需要php扩展目录下有php_gettext.dll get_defined_vars()函数 get_defined_vars — 返回由所有已定义变量所组成的数组 这样可以获得 $flag payl 阅读全文
posted @ 2022-10-19 19:33 hithub 阅读(31) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页