diff --git a/javascript/detection/oracle-tns-listener.yaml b/javascript/detection/oracle-tns-listener.yaml index c9bd4b8dc7..dfc2998613 100644 --- a/javascript/detection/oracle-tns-listener.yaml +++ b/javascript/detection/oracle-tns-listener.yaml @@ -19,7 +19,7 @@ javascript: var m = require("nuclei/oracle"); var c = m.OracleClient(); var response = c.IsOracle(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" Port: "1521" diff --git a/javascript/detection/ssh-auth-methods.yaml b/javascript/detection/ssh-auth-methods.yaml index abcc2e91a8..8a3a506da0 100644 --- a/javascript/detection/ssh-auth-methods.yaml +++ b/javascript/detection/ssh-auth-methods.yaml @@ -18,7 +18,7 @@ javascript: var m = require("nuclei/ssh"); var c = m.SSHClient(); var response = c.ConnectSSHInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" Port: "22" diff --git a/javascript/enumeration/smb/smb-enum.yaml b/javascript/enumeration/smb/smb-enum.yaml index 99c6abcee7..bc37507e3e 100644 --- a/javascript/enumeration/smb/smb-enum.yaml +++ b/javascript/enumeration/smb/smb-enum.yaml @@ -20,7 +20,7 @@ javascript: var m = require("nuclei/smb"); var c = m.SMBClient(); var response = c.ListSMBv2Metadata(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" Port: "445" diff --git a/javascript/enumeration/smb/smb2-capabilities.yaml b/javascript/enumeration/smb/smb2-capabilities.yaml index d32361abba..bcecee7eb0 100644 --- a/javascript/enumeration/smb/smb2-capabilities.yaml +++ b/javascript/enumeration/smb/smb2-capabilities.yaml @@ -18,7 +18,7 @@ javascript: var m = require("nuclei/smb"); var c = m.SMBClient(); var response = c.ConnectSMBInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" diff --git a/javascript/enumeration/ssh/obsolete-ssh-version.yaml b/javascript/enumeration/ssh/obsolete-ssh-version.yaml index f34381092d..ef4f21fefa 100644 --- a/javascript/enumeration/ssh/obsolete-ssh-version.yaml +++ b/javascript/enumeration/ssh/obsolete-ssh-version.yaml @@ -18,7 +18,7 @@ javascript: var m = require("nuclei/ssh"); var c = m.SSHClient(); var response = c.ConnectSSHInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" diff --git a/javascript/enumeration/ssh/ssh-diffie-hellman-logjam.yaml b/javascript/enumeration/ssh/ssh-diffie-hellman-logjam.yaml index dfb5df3960..bd221d0109 100644 --- a/javascript/enumeration/ssh/ssh-diffie-hellman-logjam.yaml +++ b/javascript/enumeration/ssh/ssh-diffie-hellman-logjam.yaml @@ -21,7 +21,7 @@ javascript: let m = require("nuclei/ssh"); let c = m.SSHClient(); let response = c.ConnectSSHInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" diff --git a/javascript/enumeration/ssh/ssh-password-auth.yaml b/javascript/enumeration/ssh/ssh-password-auth.yaml index 3926f2701f..309d6e5cea 100644 --- a/javascript/enumeration/ssh/ssh-password-auth.yaml +++ b/javascript/enumeration/ssh/ssh-password-auth.yaml @@ -19,7 +19,7 @@ javascript: var m = require("nuclei/ssh"); var c = m.SSHClient(); var response = c.ConnectSSHInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" Port: "22" diff --git a/javascript/enumeration/ssh/ssh-server-enumeration.yaml b/javascript/enumeration/ssh/ssh-server-enumeration.yaml index 2383b4744d..5a9737c3cd 100644 --- a/javascript/enumeration/ssh/ssh-server-enumeration.yaml +++ b/javascript/enumeration/ssh/ssh-server-enumeration.yaml @@ -17,7 +17,7 @@ javascript: var m = require("nuclei/ssh"); var c = m.SSHClient(); var response = c.ConnectSSHInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" Port: "22" diff --git a/javascript/enumeration/ssh/ssh-sha1-hmac-algo.yaml b/javascript/enumeration/ssh/ssh-sha1-hmac-algo.yaml index 1660f4b3d3..780ae0273e 100644 --- a/javascript/enumeration/ssh/ssh-sha1-hmac-algo.yaml +++ b/javascript/enumeration/ssh/ssh-sha1-hmac-algo.yaml @@ -21,7 +21,7 @@ javascript: let m = require("nuclei/ssh"); let c = m.SSHClient(); let response = c.ConnectSSHInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" diff --git a/javascript/misconfiguration/smb/smb-anonymous-access.yaml b/javascript/misconfiguration/smb/smb-anonymous-access.yaml index 642237d076..811b87174a 100644 --- a/javascript/misconfiguration/smb/smb-anonymous-access.yaml +++ b/javascript/misconfiguration/smb/smb-anonymous-access.yaml @@ -18,7 +18,7 @@ javascript: var m = require("nuclei/smb"); var c = m.SMBClient(); var response = c.ListShares(Host,Port,User,Pass); - to_json(response); + Export(response); args: Host: "{{Host}}" diff --git a/javascript/misconfiguration/smb/smb-shares.yaml b/javascript/misconfiguration/smb/smb-shares.yaml index 070095fbd3..494c36117e 100644 --- a/javascript/misconfiguration/smb/smb-shares.yaml +++ b/javascript/misconfiguration/smb/smb-shares.yaml @@ -18,7 +18,7 @@ javascript: var m = require("nuclei/smb"); var c = m.SMBClient(); var response = c.ListShares(Host, Port, User, Pass); - to_json(response); + Export(response); args: Host: "{{Host}}" diff --git a/javascript/misconfiguration/smb/smb-signing-not-required.yaml b/javascript/misconfiguration/smb/smb-signing-not-required.yaml index b90d2bb254..1c9ad49af9 100644 --- a/javascript/misconfiguration/smb/smb-signing-not-required.yaml +++ b/javascript/misconfiguration/smb/smb-signing-not-required.yaml @@ -19,7 +19,7 @@ javascript: var m = require("nuclei/smb"); var c = m.SMBClient(); var response = c.ListSMBv2Metadata(Host, Port, User, Pass); - to_json(response); + Export(response); args: Host: "{{Host}}" diff --git a/javascript/misconfiguration/ssh/ssh-cbc-mode-ciphers.yaml b/javascript/misconfiguration/ssh/ssh-cbc-mode-ciphers.yaml index 59ae95b654..c060dec4fb 100644 --- a/javascript/misconfiguration/ssh/ssh-cbc-mode-ciphers.yaml +++ b/javascript/misconfiguration/ssh/ssh-cbc-mode-ciphers.yaml @@ -21,7 +21,7 @@ javascript: let m = require("nuclei/ssh"); let c = m.SSHClient(); let response = c.ConnectSSHInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" Port: "22" diff --git a/javascript/misconfiguration/ssh/ssh-weak-algo-supported.yaml b/javascript/misconfiguration/ssh/ssh-weak-algo-supported.yaml index e21d6ef872..7f61db451d 100644 --- a/javascript/misconfiguration/ssh/ssh-weak-algo-supported.yaml +++ b/javascript/misconfiguration/ssh/ssh-weak-algo-supported.yaml @@ -21,7 +21,7 @@ javascript: let m = require("nuclei/ssh"); let c = m.SSHClient(); let response = c.ConnectSSHInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" Port: "22" diff --git a/javascript/misconfiguration/ssh/ssh-weak-mac-algo.yaml b/javascript/misconfiguration/ssh/ssh-weak-mac-algo.yaml index 8c9c10211e..4b03398cd9 100644 --- a/javascript/misconfiguration/ssh/ssh-weak-mac-algo.yaml +++ b/javascript/misconfiguration/ssh/ssh-weak-mac-algo.yaml @@ -21,7 +21,7 @@ javascript: let m = require("nuclei/ssh"); let c = m.SSHClient(); let response = c.ConnectSSHInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" Port: "22" diff --git a/javascript/misconfiguration/ssh/ssh-weak-public-key.yaml b/javascript/misconfiguration/ssh/ssh-weak-public-key.yaml index 386fe6cfb7..fa20c68cc2 100644 --- a/javascript/misconfiguration/ssh/ssh-weak-public-key.yaml +++ b/javascript/misconfiguration/ssh/ssh-weak-public-key.yaml @@ -25,7 +25,7 @@ javascript: let m = require("nuclei/ssh"); let c = m.SSHClient(); let response = c.ConnectSSHInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" Port: "22" diff --git a/javascript/misconfiguration/ssh/ssh-weakkey-exchange-algo.yaml b/javascript/misconfiguration/ssh/ssh-weakkey-exchange-algo.yaml index 256845aee3..7e3dbd3a51 100644 --- a/javascript/misconfiguration/ssh/ssh-weakkey-exchange-algo.yaml +++ b/javascript/misconfiguration/ssh/ssh-weakkey-exchange-algo.yaml @@ -21,7 +21,7 @@ javascript: let m = require("nuclei/ssh"); let c = m.SSHClient(); let response = c.ConnectSSHInfoMode(Host, Port); - to_json(response); + Export(response); args: Host: "{{Host}}" Port: "22"