nuclei-templates/javascript/enumeration/redis/redis-require-auth.yaml

30 lines
891 B
YAML

id: redis-require-auth
info:
name: Redis Require Authentication - Detect
author: DhiyaneshDK
severity: info
description: |
IsAuthenticated checks if the redis server requires authentication
reference:
- https://docs.projectdiscovery.io/templates/protocols/javascript/modules/redis#isauthenticated
metadata:
max-request: 1
shodan-query: product:"redis"
tags: js,redis,network
javascript:
- code: |
const redis = require('nuclei/redis');
const isAuthenticated = redis.IsAuthenticated(Host,Port);
Export(isAuthenticated);
args:
Host: "{{Host}}"
Port: "6379"
matchers:
- type: dsl
dsl:
- "success == true"
# digest: 490a004630440220558bfc0a5c06c14f0c6a1ea684da3b2cd3fec4d669cfe0a725521fac9b0f56d3022008d1783e086585a37bd02e64c04ad2154cccfc0aeeec83a2e02579afa9387ffc:922c64590222798bb761d5b6d8e72950