cfdf515228
- .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>
28 lines
726 B
Markdown
28 lines
726 B
Markdown
---
|
|
name: ip_in_range
|
|
kind: function
|
|
lang: go
|
|
domain: cybersecurity
|
|
version: "1.0.0"
|
|
purity: pure
|
|
signature: "func IPInRange(ip, cidr string) bool"
|
|
description: "Verifica si una direccion IP se encuentra dentro de un rango CIDR dado."
|
|
tags: [cybersecurity, network, cidr, check, pendiente-usar]
|
|
uses_functions: []
|
|
uses_types: []
|
|
returns: []
|
|
returns_optional: false
|
|
error_type: ""
|
|
imports: [net]
|
|
params:
|
|
- name: ip
|
|
desc: "direccion IP en formato string (ej: 192.168.1.1)"
|
|
- name: cidr
|
|
desc: "rango CIDR en formato string (ej: 192.168.0.0/24)"
|
|
output: "booleano indicando si la IP se encuentra dentro del rango CIDR"
|
|
tested: false
|
|
tests: []
|
|
test_file_path: ""
|
|
file_path: "functions/cybersecurity/ip_in_range.go"
|
|
---
|