mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 22:05:27 +00:00
30 lines
525 B
YAML
30 lines
525 B
YAML
|
|
id: ms-sql-detect
|
||
|
|
|
||
|
|
info:
|
||
|
|
name: microsoft sql server(mssql) detection
|
||
|
|
author: Ice3man543,tarunKoyalwar
|
||
|
|
severity: info
|
||
|
|
description: |
|
||
|
|
ms sql detection template
|
||
|
|
metadata:
|
||
|
|
shodan-query: "port:1433"
|
||
|
|
|
||
|
|
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
|
||
|
|
|
||
|
|
|