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

26 lines
705 B
YAML
Raw Normal View History

2023-11-06 18:46:22 +00:00
id: mssql-detect
2023-11-02 19:06:37 +00:00
info:
2023-11-06 18:46:22 +00:00
name: Microsoft SQL(mssql) - Detect
2023-11-02 19:06:37 +00:00
author: Ice3man543,tarunKoyalwar
severity: info
metadata:
max-request: 1
shodan-query: port:1433
2023-11-09 08:44:00 +00:00
tags: js,mssql,detect,network
2024-01-04 06:46:23 +00:00
2023-11-02 19:06:37 +00:00
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