lint - fix

patch-1
pussycat0x 2023-11-28 16:04:57 +05:30 committed by GitHub
parent 313b0af665
commit 5bf93c00bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -1,14 +1,14 @@
id: obsolete-ssh-version
info:
name: Obsolete and less secure SSH Version
name: Obsolete and less secure SSH Version
author: pussycat0x
severity: info
reference:
reference:
- https://nmap.org/nsedoc/scripts/sshv1.html
metadata:
shodan-query: "port:22"
tags: javascript,ssh,network
tags: javascript,ssh,network
javascript:
- code: |
@ -26,7 +26,7 @@ javascript:
dsl:
- "success == true"
- "version == '1.0'"
condition: and
condition: and
extractors:
- type: json
@ -38,4 +38,4 @@ javascript:
internal: true
name: version
json:
- '.ServerID.ProtoVersion'
- '.ServerID.ProtoVersion'