nuclei-templates/javascript/detection/mssql-detect.yaml

27 lines
704 B
YAML

id: mssql-detect
info:
name: Microsoft SQL(mssql) - Detect
author: Ice3man543,tarunKoyalwar
severity: info
metadata:
max-request: 1
shodan-query: port:1433
tags: js,mssql,detect,network
javascript:
- code: |
var m = require("nuclei/mssql");
var c = m.MSSQLClient();
c.IsMssql(Host, Port);
args:
Host: "{{Host}}"
Port: "1433"
matchers:
- type: dsl
dsl:
- "response == true"
- "success == true"
condition: and
# digest: 4a0a00473045022100a93e6f9e0ec23ca38d3371d6d5690619080a25225317a35cdb12899c8dd49c5402203c1733ffb051fd7d04927a3dc5e5595d6b4da5b441487af6447f806446db1ac7:922c64590222798bb761d5b6d8e72950