From 73b69a8c2066cd6e556affbe7b6f1c63915a9802 Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Thu, 4 Jan 2024 12:16:23 +0530 Subject: [PATCH] final lint fix --- file/android/deep-link-detect.yaml | 2 +- file/android/dynamic-broadcast-receiver.yaml | 5 ++--- file/android/file-scheme.yaml | 2 +- file/android/google-storage-bucket.yaml | 2 +- file/android/webview-javascript.yaml | 5 ++--- file/android/webview-load-url.yaml | 2 +- file/android/webview-universal-access.yaml | 3 +-- file/electron/electron-version-detect.yaml | 2 +- file/electron/node-integration-enabled.yaml | 2 +- file/keys/adobe/adobe-client.yaml | 2 +- file/keys/adobe/adobe-secret.yaml | 2 +- file/keys/alibaba/alibaba-key-id.yaml | 2 +- file/keys/alibaba/alibaba-secret-id.yaml | 2 +- file/keys/amazon/amazon-account-id.yaml | 2 +- file/keys/amazon/amazon-mws-auth-token.yaml | 3 +-- file/keys/amazon/amazon-session-token.yaml | 2 +- file/keys/amazon/aws-access-id.yaml | 3 +-- file/keys/amazon/aws-cognito.yaml | 3 +-- file/keys/asana/asana-clientid.yaml | 2 +- file/keys/asana/asana-clientsecret.yaml | 2 +- file/keys/atlassian/atlassian-api-token.yaml | 2 +- file/keys/digitalocean/digitalocean-access-token.yaml | 2 +- file/keys/digitalocean/digitalocean-personal-access.yaml | 2 +- file/keys/digitalocean/digitalocean-refresh-token.yaml | 2 +- file/keys/discord/discord-api-token.yaml | 2 +- file/keys/discord/discord-cilent-secret.yaml | 2 +- file/keys/discord/discord-client-id.yaml | 2 +- file/keys/easypost/easypost-api-token.yaml | 2 +- file/keys/easypost/easypost-test-token.yaml | 2 +- file/keys/facebook/facebook-api-token.yaml | 2 +- file/keys/facebook/facebook-client-id.yaml | 2 +- file/keys/facebook/facebook-secret.yaml | 3 +-- file/keys/facebook/fb-access-token.yaml | 2 +- javascript/cves/2016/CVE-2016-8706.yaml | 2 +- javascript/cves/2023/CVE-2023-34039.yaml | 2 +- javascript/default-logins/mssql-default-logins.yaml | 2 +- javascript/default-logins/postgres-default-logins.yaml | 2 +- javascript/default-logins/redis-default-logins.yaml | 2 +- javascript/default-logins/ssh-default-logins.yaml | 2 +- javascript/detection/mssql-detect.yaml | 2 +- javascript/detection/oracle-tns-listener.yaml | 2 +- javascript/detection/ssh-auth-methods.yaml | 2 +- javascript/enumeration/smb-enum.yaml | 2 +- javascript/enumeration/ssh-cbc-mode-ciphers.yaml | 2 +- javascript/enumeration/ssh-password-auth.yaml | 2 +- javascript/enumeration/ssh-server-enumeration.yaml | 2 +- javascript/enumeration/ssh-weak-algo-supported.yaml | 2 +- javascript/enumeration/ssh-weak-mac-algo.yaml | 2 +- javascript/enumeration/ssh-weak-public-key.yaml | 2 +- javascript/enumeration/ssh-weakkey-exchange-algo.yaml | 2 +- 50 files changed, 52 insertions(+), 59 deletions(-) diff --git a/file/android/deep-link-detect.yaml b/file/android/deep-link-detect.yaml index b31be4bab8..97969574b0 100644 --- a/file/android/deep-link-detect.yaml +++ b/file/android/deep-link-detect.yaml @@ -16,7 +16,7 @@ info: metadata: verified: true tags: android,file,deeplink - + file: - extensions: - xml diff --git a/file/android/dynamic-broadcast-receiver.yaml b/file/android/dynamic-broadcast-receiver.yaml index 2711f2ca05..eae0b1856e 100644 --- a/file/android/dynamic-broadcast-receiver.yaml +++ b/file/android/dynamic-broadcast-receiver.yaml @@ -10,7 +10,7 @@ info: cvss-score: 0 cwe-id: CWE-200 tags: android,file - + file: - extensions: - all @@ -19,5 +19,4 @@ file: words: - ";->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)" -# Enhanced by md on 2023/05/02 -# digest: 490a0046304402200a21274be70d274c77c63cf66b98e1d17b14fcbfff10995feefc37a44c7cbc6a022076339e3fbebc6122b4991b64b1c1208697e31560886e2d86f5a0ac665c582758:922c64590222798bb761d5b6d8e72950 +# digest: 490a0046304402200a21274be70d274c77c63cf66b98e1d17b14fcbfff10995feefc37a44c7cbc6a022076339e3fbebc6122b4991b64b1c1208697e31560886e2d86f5a0ac665c582758:922c64590222798bb761d5b6d8e72950 \ No newline at end of file diff --git a/file/android/file-scheme.yaml b/file/android/file-scheme.yaml index e0aca05573..0d1517d470 100644 --- a/file/android/file-scheme.yaml +++ b/file/android/file-scheme.yaml @@ -10,7 +10,7 @@ info: cvss-score: 0 cwe-id: CWE-200 tags: android,file - + file: - extensions: - xml diff --git a/file/android/google-storage-bucket.yaml b/file/android/google-storage-bucket.yaml index 073f2e0f10..ebb3c362e6 100644 --- a/file/android/google-storage-bucket.yaml +++ b/file/android/google-storage-bucket.yaml @@ -8,7 +8,7 @@ info: verified: "true" github-query: "/[a-z0-9.-]+\\.appspot\\.com/" tags: file,android,google - + file: - extensions: - all diff --git a/file/android/webview-javascript.yaml b/file/android/webview-javascript.yaml index 8c93169f1f..fef30036a3 100644 --- a/file/android/webview-javascript.yaml +++ b/file/android/webview-javascript.yaml @@ -10,7 +10,7 @@ info: cvss-score: 0 cwe-id: CWE-200 tags: android,file,js,webview - + file: - extensions: - all @@ -19,5 +19,4 @@ file: words: - "Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V" -# Enhanced by md on 2023/05/03 -# digest: 490a0046304402202cb44b3b176f00694b16cac7a61f5db343e65232d7dbb0e4c3f19815322ffa30022041f4229478a122c2b2f3b7878815a3391f9725e527b8eb7c18488d0c958b3324:922c64590222798bb761d5b6d8e72950 +# digest: 490a0046304402202cb44b3b176f00694b16cac7a61f5db343e65232d7dbb0e4c3f19815322ffa30022041f4229478a122c2b2f3b7878815a3391f9725e527b8eb7c18488d0c958b3324:922c64590222798bb761d5b6d8e72950 \ No newline at end of file diff --git a/file/android/webview-load-url.yaml b/file/android/webview-load-url.yaml index 95e1a43af3..093fb2eb7c 100644 --- a/file/android/webview-load-url.yaml +++ b/file/android/webview-load-url.yaml @@ -10,7 +10,7 @@ info: cvss-score: 0 cwe-id: CWE-200 tags: android,file,webview - + file: - extensions: - all diff --git a/file/android/webview-universal-access.yaml b/file/android/webview-universal-access.yaml index 7d4dcd2b5d..43ac03bc93 100644 --- a/file/android/webview-universal-access.yaml +++ b/file/android/webview-universal-access.yaml @@ -19,5 +19,4 @@ file: words: - "Landroid/webkit/WebSettings;->setAllowUniversalAccessFromFileURLs(Z)V" -# Enhanced by md on 2023/05/03 -# digest: 4a0a00473045022100a47e2082fc66a04948c89867eea66d41624cf5a26a7e0e6faebecd5e18281a74022025ef3b1093b7cfa7eeb45aea5a30518577674355526f2621c96bde80d175642a:922c64590222798bb761d5b6d8e72950 +# digest: 4a0a00473045022100a47e2082fc66a04948c89867eea66d41624cf5a26a7e0e6faebecd5e18281a74022025ef3b1093b7cfa7eeb45aea5a30518577674355526f2621c96bde80d175642a:922c64590222798bb761d5b6d8e72950 \ No newline at end of file diff --git a/file/electron/electron-version-detect.yaml b/file/electron/electron-version-detect.yaml index 3b1a28c86c..33f868cdbb 100644 --- a/file/electron/electron-version-detect.yaml +++ b/file/electron/electron-version-detect.yaml @@ -11,7 +11,7 @@ info: cvss-score: 0 cwe-id: CWE-200 tags: electron,file - + file: - extensions: - json diff --git a/file/electron/node-integration-enabled.yaml b/file/electron/node-integration-enabled.yaml index ef4bb9fa06..3238b873d6 100644 --- a/file/electron/node-integration-enabled.yaml +++ b/file/electron/node-integration-enabled.yaml @@ -10,7 +10,7 @@ info: - https://blog.yeswehack.com/yeswerhackers/exploitation/pentesting-electron-applications/ - https://book.hacktricks.xyz/pentesting/pentesting-web/xss-to-rce-electron-desktop-apps tags: electron,file,nodejs - + file: - extensions: - all diff --git a/file/keys/adobe/adobe-client.yaml b/file/keys/adobe/adobe-client.yaml index 3a93560bad..888769dc79 100644 --- a/file/keys/adobe/adobe-client.yaml +++ b/file/keys/adobe/adobe-client.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: adobe,file,token - + file: - extensions: - all diff --git a/file/keys/adobe/adobe-secret.yaml b/file/keys/adobe/adobe-secret.yaml index b25ec40bae..286cb227e8 100644 --- a/file/keys/adobe/adobe-secret.yaml +++ b/file/keys/adobe/adobe-secret.yaml @@ -12,7 +12,7 @@ info: metadata: verified: true tags: adobe,oauth,file,token - + file: - extensions: - all diff --git a/file/keys/alibaba/alibaba-key-id.yaml b/file/keys/alibaba/alibaba-key-id.yaml index 2b43cd6089..5e6466516b 100644 --- a/file/keys/alibaba/alibaba-key-id.yaml +++ b/file/keys/alibaba/alibaba-key-id.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: alibaba,access,file,keys - + file: - extensions: - all diff --git a/file/keys/alibaba/alibaba-secret-id.yaml b/file/keys/alibaba/alibaba-secret-id.yaml index 265ec05e38..32c4ced32b 100644 --- a/file/keys/alibaba/alibaba-secret-id.yaml +++ b/file/keys/alibaba/alibaba-secret-id.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: alibaba,secret,file,keys - + file: - extensions: - all diff --git a/file/keys/amazon/amazon-account-id.yaml b/file/keys/amazon/amazon-account-id.yaml index 0888ba2346..3e985c1130 100644 --- a/file/keys/amazon/amazon-account-id.yaml +++ b/file/keys/amazon/amazon-account-id.yaml @@ -14,7 +14,7 @@ info: metadata: verified: true tags: aws,amazon,token,file - + file: - extensions: - all diff --git a/file/keys/amazon/amazon-mws-auth-token.yaml b/file/keys/amazon/amazon-mws-auth-token.yaml index 2c4d6927e4..70b0bc1c32 100644 --- a/file/keys/amazon/amazon-mws-auth-token.yaml +++ b/file/keys/amazon/amazon-mws-auth-token.yaml @@ -20,5 +20,4 @@ file: regex: - "amzn\\.mws\\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" -# Enhanced by md on 2023/05/04 -# digest: 4a0a00473045022100a22e9ab4357449ff0b0d0e1d56fd2a2a815900eb260c13cdc8ca5b4904508d76022030e701c98fff70a3c0e8174fe27c30c87c60b0a4acdc97555a71970ab6e5e83a:922c64590222798bb761d5b6d8e72950 +# digest: 4a0a00473045022100a22e9ab4357449ff0b0d0e1d56fd2a2a815900eb260c13cdc8ca5b4904508d76022030e701c98fff70a3c0e8174fe27c30c87c60b0a4acdc97555a71970ab6e5e83a:922c64590222798bb761d5b6d8e72950 \ No newline at end of file diff --git a/file/keys/amazon/amazon-session-token.yaml b/file/keys/amazon/amazon-session-token.yaml index f13c557ef1..50f37c4f32 100644 --- a/file/keys/amazon/amazon-session-token.yaml +++ b/file/keys/amazon/amazon-session-token.yaml @@ -14,7 +14,7 @@ info: metadata: verified: true tags: aws,amazon,token,file,session - + file: - extensions: - all diff --git a/file/keys/amazon/aws-access-id.yaml b/file/keys/amazon/aws-access-id.yaml index 7d1d91633f..2d1262eed8 100644 --- a/file/keys/amazon/aws-access-id.yaml +++ b/file/keys/amazon/aws-access-id.yaml @@ -10,7 +10,7 @@ info: cvss-score: 0 cwe-id: CWE-200 tags: token,file,aws,amazon - + file: - extensions: - all @@ -20,5 +20,4 @@ file: regex: - "(A3T[A-Z0-9]|AKIA|AGPA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}" -# Enhanced by md on 2023/05/04 # digest: 4a0a00473045022001180031643147e369ad54d397f6e1ec99e061e1a771b8ec6b9f024bb97300a7022100b5b3b3027d3e8edea6822f05c18070f5cbd64b111c6ac7aa37e3603fcb4b08ea:922c64590222798bb761d5b6d8e72950 diff --git a/file/keys/amazon/aws-cognito.yaml b/file/keys/amazon/aws-cognito.yaml index 38e79f6e27..8a485cf96c 100644 --- a/file/keys/amazon/aws-cognito.yaml +++ b/file/keys/amazon/aws-cognito.yaml @@ -10,7 +10,7 @@ info: cvss-score: 0 cwe-id: CWE-200 tags: token,file,aws,amazon - + file: - extensions: - all @@ -36,5 +36,4 @@ file: - "us-west-2:[0-9A-Za-z]{8}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{12}" - "sa-east-1:[0-9A-Za-z]{8}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{4}-[0-9A-Za-z]{12}" -# Enhanced by md on 2023/05/04 # digest: 4b0a00483046022100b065a7fffa3f1696948239b6546af3ff6d33ddd2ab72ce11e55831f029a152c5022100ce912a53c74a47179c62dbf4a78e93a8f5fdcbbbf497a94e6e4f4ef2e76efd91:922c64590222798bb761d5b6d8e72950 diff --git a/file/keys/asana/asana-clientid.yaml b/file/keys/asana/asana-clientid.yaml index 91de49fc5c..943dbe7f8a 100644 --- a/file/keys/asana/asana-clientid.yaml +++ b/file/keys/asana/asana-clientid.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: asana,client,file,keys - + file: - extensions: - all diff --git a/file/keys/asana/asana-clientsecret.yaml b/file/keys/asana/asana-clientsecret.yaml index 962b6eff8f..fda93de4d8 100644 --- a/file/keys/asana/asana-clientsecret.yaml +++ b/file/keys/asana/asana-clientsecret.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: asana,client,file,keys,secret - + file: - extensions: - all diff --git a/file/keys/atlassian/atlassian-api-token.yaml b/file/keys/atlassian/atlassian-api-token.yaml index bfc6bdd60d..2ce07e2293 100644 --- a/file/keys/atlassian/atlassian-api-token.yaml +++ b/file/keys/atlassian/atlassian-api-token.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: atlassian,file,token,api - + file: - extensions: - all diff --git a/file/keys/digitalocean/digitalocean-access-token.yaml b/file/keys/digitalocean/digitalocean-access-token.yaml index db811edfcf..ccc4d2ceaa 100644 --- a/file/keys/digitalocean/digitalocean-access-token.yaml +++ b/file/keys/digitalocean/digitalocean-access-token.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: digitalocean,file,token - + file: - extensions: - all diff --git a/file/keys/digitalocean/digitalocean-personal-access.yaml b/file/keys/digitalocean/digitalocean-personal-access.yaml index 73bc65203e..aa798f01bf 100644 --- a/file/keys/digitalocean/digitalocean-personal-access.yaml +++ b/file/keys/digitalocean/digitalocean-personal-access.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: digitalocean,file,token - + file: - extensions: - all diff --git a/file/keys/digitalocean/digitalocean-refresh-token.yaml b/file/keys/digitalocean/digitalocean-refresh-token.yaml index 94b5433dc7..bc1416fc21 100644 --- a/file/keys/digitalocean/digitalocean-refresh-token.yaml +++ b/file/keys/digitalocean/digitalocean-refresh-token.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: digitalocean,file,token - + file: - extensions: - all diff --git a/file/keys/discord/discord-api-token.yaml b/file/keys/discord/discord-api-token.yaml index dc7124ea96..46386a534a 100644 --- a/file/keys/discord/discord-api-token.yaml +++ b/file/keys/discord/discord-api-token.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: discord,file,token - + file: - extensions: - all diff --git a/file/keys/discord/discord-cilent-secret.yaml b/file/keys/discord/discord-cilent-secret.yaml index b8642971ea..85eb07805c 100644 --- a/file/keys/discord/discord-cilent-secret.yaml +++ b/file/keys/discord/discord-cilent-secret.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: discord,file,token - + file: - extensions: - all diff --git a/file/keys/discord/discord-client-id.yaml b/file/keys/discord/discord-client-id.yaml index 53d56ee610..5761875a67 100644 --- a/file/keys/discord/discord-client-id.yaml +++ b/file/keys/discord/discord-client-id.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: discord,file,token - + file: - extensions: - all diff --git a/file/keys/easypost/easypost-api-token.yaml b/file/keys/easypost/easypost-api-token.yaml index 78f098ed35..4000aa94a3 100644 --- a/file/keys/easypost/easypost-api-token.yaml +++ b/file/keys/easypost/easypost-api-token.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: easypost,file,token - + file: - extensions: - all diff --git a/file/keys/easypost/easypost-test-token.yaml b/file/keys/easypost/easypost-test-token.yaml index 298f1480f3..2d6a8b96a5 100644 --- a/file/keys/easypost/easypost-test-token.yaml +++ b/file/keys/easypost/easypost-test-token.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: easypost,file,token - + file: - extensions: - all diff --git a/file/keys/facebook/facebook-api-token.yaml b/file/keys/facebook/facebook-api-token.yaml index 5f2bca9e49..7a632fce21 100644 --- a/file/keys/facebook/facebook-api-token.yaml +++ b/file/keys/facebook/facebook-api-token.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: facebook,file,token - + file: - extensions: - all diff --git a/file/keys/facebook/facebook-client-id.yaml b/file/keys/facebook/facebook-client-id.yaml index 38c544262a..5df64b0c79 100644 --- a/file/keys/facebook/facebook-client-id.yaml +++ b/file/keys/facebook/facebook-client-id.yaml @@ -10,7 +10,7 @@ info: cvss-score: 0 cwe-id: CWE-200 tags: token,file,facebook - + file: - extensions: - all diff --git a/file/keys/facebook/facebook-secret.yaml b/file/keys/facebook/facebook-secret.yaml index 2e8dbdf4f9..94980f1efd 100644 --- a/file/keys/facebook/facebook-secret.yaml +++ b/file/keys/facebook/facebook-secret.yaml @@ -6,7 +6,7 @@ info: severity: low description: Facebook secret key token was detected. tags: token,file,facebook - + file: - extensions: - all @@ -16,5 +16,4 @@ file: regex: - "(?i)(facebook|fb)(.{0,20})?(?-i)['\"][0-9a-f]{32}['\"]" -# Enhanced by md on 2023/05/04 # digest: 4b0a00483046022100c8f297f448fb4903d7a38171d2ebcbb1ae4cecc818f00c5042a4d50dcb216150022100d6e7270b96ebd866b3b5f9d26deb721ef4626d502aa7be161c75379de7f39de4:922c64590222798bb761d5b6d8e72950 diff --git a/file/keys/facebook/fb-access-token.yaml b/file/keys/facebook/fb-access-token.yaml index b5dc20637d..57a8c0744d 100644 --- a/file/keys/facebook/fb-access-token.yaml +++ b/file/keys/facebook/fb-access-token.yaml @@ -10,7 +10,7 @@ info: metadata: verified: true tags: facebook,token,file - + file: - extensions: - all diff --git a/javascript/cves/2016/CVE-2016-8706.yaml b/javascript/cves/2016/CVE-2016-8706.yaml index e28d92a3a8..79a763201e 100644 --- a/javascript/cves/2016/CVE-2016-8706.yaml +++ b/javascript/cves/2016/CVE-2016-8706.yaml @@ -26,7 +26,7 @@ info: product: memcached verfied: true tags: cve,cve2016,rce,js,memcached - + javascript: - code: | let packet = bytes.NewBuffer(); diff --git a/javascript/cves/2023/CVE-2023-34039.yaml b/javascript/cves/2023/CVE-2023-34039.yaml index d80cecaba9..81272108fa 100644 --- a/javascript/cves/2023/CVE-2023-34039.yaml +++ b/javascript/cves/2023/CVE-2023-34039.yaml @@ -33,7 +33,7 @@ info: variables: keysDir: "helpers/payloads/cve-2023-34039-keys" # load all private keys from this directory - + javascript: # init field can be used to make any preperations before the actual exploit # here we are reading all private keys from helpers folder and storing them in a list diff --git a/javascript/default-logins/mssql-default-logins.yaml b/javascript/default-logins/mssql-default-logins.yaml index 1d9e57cf5c..c13b1d578b 100644 --- a/javascript/default-logins/mssql-default-logins.yaml +++ b/javascript/default-logins/mssql-default-logins.yaml @@ -10,7 +10,7 @@ info: max-request: 7 shodan-query: port:1433 tags: js,mssql,default-login,network - + javascript: - pre-condition: | var m = require("nuclei/mssql"); diff --git a/javascript/default-logins/postgres-default-logins.yaml b/javascript/default-logins/postgres-default-logins.yaml index 641420465c..73f931ca94 100644 --- a/javascript/default-logins/postgres-default-logins.yaml +++ b/javascript/default-logins/postgres-default-logins.yaml @@ -10,7 +10,7 @@ info: max-request: 9 shodan-query: port:5432 tags: js,postgresql,default-login,network - + javascript: - pre-condition: | var m = require("nuclei/postgres"); diff --git a/javascript/default-logins/redis-default-logins.yaml b/javascript/default-logins/redis-default-logins.yaml index f73aafdf4a..2ec711e767 100644 --- a/javascript/default-logins/redis-default-logins.yaml +++ b/javascript/default-logins/redis-default-logins.yaml @@ -10,7 +10,7 @@ info: max-request: 6 shodan-query: product:"redis" tags: js,redis,default-login,network - + javascript: - pre-condition: | isPortOpen(Host,Port) diff --git a/javascript/default-logins/ssh-default-logins.yaml b/javascript/default-logins/ssh-default-logins.yaml index 010f86a0b4..de0f94a14f 100644 --- a/javascript/default-logins/ssh-default-logins.yaml +++ b/javascript/default-logins/ssh-default-logins.yaml @@ -8,7 +8,7 @@ info: max-request: 223 shodan-query: port:1433 tags: js,ssh,default-login,network,fuzz - + javascript: - pre-condition: | var m = require("nuclei/ssh"); diff --git a/javascript/detection/mssql-detect.yaml b/javascript/detection/mssql-detect.yaml index 5367017a0a..3410f93fe4 100644 --- a/javascript/detection/mssql-detect.yaml +++ b/javascript/detection/mssql-detect.yaml @@ -8,7 +8,7 @@ info: max-request: 1 shodan-query: port:1433 tags: js,mssql,detect,network - + javascript: - code: | var m = require("nuclei/mssql"); diff --git a/javascript/detection/oracle-tns-listener.yaml b/javascript/detection/oracle-tns-listener.yaml index 6a3c6266dd..52260d2037 100644 --- a/javascript/detection/oracle-tns-listener.yaml +++ b/javascript/detection/oracle-tns-listener.yaml @@ -13,7 +13,7 @@ info: max-request: 1 shodan-query: product:"Oracle TNS Listener" tags: js,oracle,tns,network - + javascript: - code: | var m = require("nuclei/oracle"); diff --git a/javascript/detection/ssh-auth-methods.yaml b/javascript/detection/ssh-auth-methods.yaml index a122166f9b..3b482a0493 100644 --- a/javascript/detection/ssh-auth-methods.yaml +++ b/javascript/detection/ssh-auth-methods.yaml @@ -12,7 +12,7 @@ info: max-request: 1 shodan-query: product:"OpenSSH" tags: ssh,js,enum,network - + javascript: - code: | var m = require("nuclei/ssh"); diff --git a/javascript/enumeration/smb-enum.yaml b/javascript/enumeration/smb-enum.yaml index 8954569426..8b98adc90b 100644 --- a/javascript/enumeration/smb-enum.yaml +++ b/javascript/enumeration/smb-enum.yaml @@ -14,7 +14,7 @@ info: max-request: 1 shodan-query: port:445 tags: js,network,smb,enum - + javascript: - code: | var m = require("nuclei/smb"); diff --git a/javascript/enumeration/ssh-cbc-mode-ciphers.yaml b/javascript/enumeration/ssh-cbc-mode-ciphers.yaml index 06c2a62514..f3d593afff 100644 --- a/javascript/enumeration/ssh-cbc-mode-ciphers.yaml +++ b/javascript/enumeration/ssh-cbc-mode-ciphers.yaml @@ -13,7 +13,7 @@ info: max-request: 2 shodan-query: product:"OpenSSH" tags: js,ssh,misconfig,network - + javascript: - pre-condition: | isPortOpen(Host,Port) diff --git a/javascript/enumeration/ssh-password-auth.yaml b/javascript/enumeration/ssh-password-auth.yaml index 5874a4c959..d4115085e5 100644 --- a/javascript/enumeration/ssh-password-auth.yaml +++ b/javascript/enumeration/ssh-password-auth.yaml @@ -11,7 +11,7 @@ info: max-request: 2 shodan-query: product:"OpenSSH" tags: ssh,js,enum,network - + javascript: - pre-condition: | isPortOpen(Host,Port); diff --git a/javascript/enumeration/ssh-server-enumeration.yaml b/javascript/enumeration/ssh-server-enumeration.yaml index a6c836ecdf..bc2bcfe9dc 100644 --- a/javascript/enumeration/ssh-server-enumeration.yaml +++ b/javascript/enumeration/ssh-server-enumeration.yaml @@ -9,7 +9,7 @@ info: max-request: 2 shodan-query: product:"OpenSSH" tags: js,ssh,enum,network - + javascript: - pre-condition: | isPortOpen(Host,Port); diff --git a/javascript/enumeration/ssh-weak-algo-supported.yaml b/javascript/enumeration/ssh-weak-algo-supported.yaml index 5471e1dd4f..6554d5d7bf 100644 --- a/javascript/enumeration/ssh-weak-algo-supported.yaml +++ b/javascript/enumeration/ssh-weak-algo-supported.yaml @@ -13,7 +13,7 @@ info: max-request: 2 shodan-query: product:"OpenSSH" tags: js,ssh,misconfig,network - + javascript: - pre-condition: | isPortOpen(Host,Port); diff --git a/javascript/enumeration/ssh-weak-mac-algo.yaml b/javascript/enumeration/ssh-weak-mac-algo.yaml index a91c23f1fb..a95416a970 100644 --- a/javascript/enumeration/ssh-weak-mac-algo.yaml +++ b/javascript/enumeration/ssh-weak-mac-algo.yaml @@ -13,7 +13,7 @@ info: max-request: 2 shodan-query: product:"OpenSSH" tags: js,ssh,misconfig,network - + javascript: - pre-condition: | isPortOpen(Host,Port); diff --git a/javascript/enumeration/ssh-weak-public-key.yaml b/javascript/enumeration/ssh-weak-public-key.yaml index 08abc58442..ca4a5e308e 100644 --- a/javascript/enumeration/ssh-weak-public-key.yaml +++ b/javascript/enumeration/ssh-weak-public-key.yaml @@ -17,7 +17,7 @@ info: variables: ecdsa_bit: '256' # 256 bytes = 2048 bits rsa_bit: '2048' # 2048 bits - + javascript: - pre-condition: | isPortOpen(Host,Port); diff --git a/javascript/enumeration/ssh-weakkey-exchange-algo.yaml b/javascript/enumeration/ssh-weakkey-exchange-algo.yaml index aa5165bf6d..6ab38e3bd3 100644 --- a/javascript/enumeration/ssh-weakkey-exchange-algo.yaml +++ b/javascript/enumeration/ssh-weakkey-exchange-algo.yaml @@ -13,7 +13,7 @@ info: max-request: 2 shodan-query: product:"OpenSSH" tags: js,ssh,misconfig,network - + javascript: - pre-condition: | isPortOpen(Host,Port);