kppw威客系统SQL注入一枚

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### 简要描述: rt ### 详细说明: 注册处。 ``` function check_all($reg_username, $reg_email, $reg_code) { global $_lang,$_K; $res1 = $this->check_ip (); if($_K['do']){ $url = 'index.php?do='.$_K['do']; }else{ $url = 'index.php?do=register'; } $res1 === true or $result = $res1; $res2 = $this->check_username ( $reg_username ); $res2 === true or $result = $res2; $res3 = $this->check_email ( $reg_email ); $res3 === true or $result = $res3; if ($this->_check_code == true) { $res4 = $this->check_code ( $reg_code ); $res4 === true or $result = $res4; } if($result){ return $result; }else{ return true; } } ``` 看到 check_ip ``` function check_ip() { global $_lang; $check_time = time () - $this->_sys_config ['reg_limit'] * 60; $this->_space_obj->setWhere ( "reg_ip = '$this->_reg_ip' and $check_time< reg_time" ); $res = $this->_space_obj->query_keke_witkey_space (); ``` $this->_reg_ip = kekezu::get_ip (); get_ip ``` static function get_ip() { global $_lang; if (! empty ( $_SERVER ["HTTP_CLIENT_IP"] )) $cip =...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息