From 761b1654145956c5e1de64966412c0906fe83ccf Mon Sep 17 00:00:00 2001 From: pussycat0x <65701233+pussycat0x@users.noreply.github.com> Date: Sat, 11 Nov 2023 23:21:30 +0530 Subject: [PATCH] lint -fix --- javascript/enumeration/ssh-weakkey-exchange-algo.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/javascript/enumeration/ssh-weakkey-exchange-algo.yaml b/javascript/enumeration/ssh-weakkey-exchange-algo.yaml index f9401a4411..8921cd630d 100644 --- a/javascript/enumeration/ssh-weakkey-exchange-algo.yaml +++ b/javascript/enumeration/ssh-weakkey-exchange-algo.yaml @@ -4,20 +4,20 @@ info: name: SSH Weak Key Exchange Algorithms Enabled author: pussycat0x severity: low - description: | + description: > "SSH Weak Key Exchange Algorithms Enabled" indicates that the SSH server or client is configured to allow the use of less secure key exchange methods, posing a potential security risk during the establishment of secure connections. It's crucial to update configurations to prioritize stronger key exchange algorithms. reference: - https://www.tenable.com/plugins/nessus/153953 metadata: verified: true shodan-query: product:"OpenSSH" - tags: javascript,ssh,misconfig,network + tags: javascript,ssh,misconfig,network javascript: - code: | let m = require("nuclei/ssh"); let c = m.SSHClient(); - let response = c.ConnectSSHInfoMode(Host, Port); + let response = c.ConnectSSHInfoMode({{Host}}, {{Port}}); to_json(response); args: @@ -26,11 +26,11 @@ javascript: matchers-condition: and matchers: - - type : word + - type: word words: - "ServerKex" - - type : word + - type: word words: - "diffie-hellman-group-exchange-sha1" - "diffie-hellman-group1-sha1"