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

26 lines
705 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: 4b0a004830460221008d900c99542085aefd22e62360c002c0beda944d2099e5e1f320a41cc9ac2803022100d1cb325546c96330fa6c7a128d6ab456421f32f70c98f63692ea84596c2da1fc:922c64590222798bb761d5b6d8e72950