TinyShop SQL注入一枚

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

### 简要描述: 20140926 ### 详细说明: 因为是支付,会查询订单状态,要先创建一个订单。 /protected/controllers/payment.php中 pay_balance函数 total_fee变量 ``` //余额支付方式,服务器端处理 public function pay_balance(){ $sign = Req::post('sign');//从post中获取sign $args = Req::post(); unset($args['sign']); $total_fee = Req::post('total_fee');//直接从post获取 $attach = Filter::int(Req::post('attach')); $return['attach'] = Req::post('attach'); $return['total_fee'] = floatval(Req::post('total_fee')); $return['order_no'] = Req::post('order_no'); $return['return_url'] = Req::post('return_url'); 。。。 if(floatval($return['total_fee']) < 0 || $return['order_no'] == '' || $return['return_url'] == '') { $msg = array('type'=>'fail','msg'=>'支付参数不正确!'); $this->redirect('/index/msg',false,$msg); } else{//订单正常的话,就开始支付了 $payment = new Payment($attach);//attach为孔的时候,$payment也会为空 $paymentInfo = $payment->getPayment();//paymentInfo为空 $pay_balance = new pay_balance(); $filter_param = $pay_balance->filterParam($args); //对待签名参数数组排序 $para_sort =...

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