minor updates
parent
3e292cf21f
commit
e271ef18d3
|
@ -1,7 +1,7 @@
|
|||
id: vmware-version-detect
|
||||
id: vmware-detect
|
||||
|
||||
info:
|
||||
name: vmware-version-detect
|
||||
name: VMware Detection
|
||||
author: elouhi
|
||||
severity: info
|
||||
description: Sends a POST request containing a SOAP payload to a vCenter server to obtain version information
|
||||
|
@ -15,11 +15,6 @@ requests:
|
|||
- |
|
||||
POST /sdk/ HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
|
||||
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
|
||||
Accept-Encoding: gzip, deflate
|
||||
Accept-Language: en-US,en;q=0.9
|
||||
Connection: close
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
@ -44,11 +39,12 @@ requests:
|
|||
words:
|
||||
- 'ha-folder-root'
|
||||
- 'RetrieveServiceContentResponse'
|
||||
condition: or
|
||||
|
||||
- type: word
|
||||
part: header
|
||||
words:
|
||||
- "text/xml"
|
||||
part: header
|
||||
|
||||
extractors:
|
||||
- type: regex
|
Loading…
Reference in New Issue