47fac22230
- .claude/CLAUDE.md - .claude/commands/subagentes.md - .claude/rules/INDEX.md - .mcp.json - bash/functions/cybersecurity/analyze_dns.md - bash/functions/cybersecurity/audit_http_headers.md - bash/functions/cybersecurity/audit_ssh_config.md - bash/functions/cybersecurity/check_firewall.md - bash/functions/cybersecurity/detect_suspicious_users.md - bash/functions/cybersecurity/encrypt_file.md - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.2 KiB
1.2 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | params | output | tested | tests | test_file_path | file_path | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| keepass_generate | function | bash | infra | 1.0.0 | impure | keepass_generate(entry: string, length?: int, username?: string, url?: string) -> string | Genera un password aleatorio (lower+upper+digits+special), lo almacena en una entry nueva y lo imprime a stdout. Length default 24. |
|
false | error_go_core |
|
password generado en texto plano | false | bash/functions/infra/keepass_generate.sh |
Ejemplo
source keepass_generate.sh
pwd=$(keepass_generate "Servers/new-vps" 32 "deploy" "https://vps.example.com")
echo "Generated: $pwd"
Notas
- Genera con
keepassxc-cli generate -l -U -n -s(lower, upper, numbers, special). - Inserta con
keepassxc-cli add -preusando la misma sesion. - El grupo padre debe existir.