mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
32 lines
738 B
YAML
32 lines
738 B
YAML
id: libssh-detect
|
|
|
|
info:
|
|
name: libssh SSH - Detection
|
|
author: pussycat0x
|
|
severity: info
|
|
description: |
|
|
libssh SSH server detection. libssh is a multiplatform C library implementing the SSH protocol that can be used to build SSH clients and servers. It can be identified by the SSH banner format SSH-2.0-libssh-version.
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: ssh product:"libssh"
|
|
tags: network,ssh,detect
|
|
|
|
tcp:
|
|
- inputs:
|
|
- data: "\n"
|
|
host:
|
|
- "{{Hostname}}"
|
|
port: 22
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "SSH-"
|
|
- "libssh"
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: regex
|
|
regex:
|
|
- "SSH-([0-9.]+)-libssh-([0-9.]+)" |