Update pulse-secure-panel (#3536)

* Update pulse-secure-panel

Add version info retrieval.

* separated version detection

Co-authored-by: sandeep <sandeep@projectdiscovery.io>
patch-1
Daniel 2022-01-18 09:14:57 +01:00 committed by GitHub
parent f8013457b6
commit aa451b254b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 2 deletions

View File

@ -4,7 +4,7 @@ info:
name: Pulse Secure VPN Panel
author: bsysop
severity: info
tags: panel,pulse
tags: panel,pulse,vpn
requests:
- method: GET

View File

@ -0,0 +1,37 @@
id: pulse-secure-version
info:
name: Pulse Secure Version
author: dadevel
severity: info
tags: pulse
requests:
- method: GET
path:
- "{{BaseURL}}/dana-na/nc/nc_gina_ver.txt" # not present in newer release
- "{{BaseURL}}/dana-cached/hc/HostCheckerInstaller.osx"
stop-at-first-match: true
matchers-condition: or
matchers:
- type: word
part: body
words:
- 'NAME="ProductVersion"'
- "<key>version</key>"
condition: or
case-insensitive: true
extractors:
- type: regex
group: 1
part: body
regex:
- '(?i)NAME="ProductVersion"\s+?VALUE="([^"]+)"'
- type: regex
group: 1
part: body
regex:
- "(?i)<string>([^<]+)</string>"