IPs-LE

v1.1.0
io.github.nolindnaidoo/ips-le Checked 11 hours ago Published 1 month ago

Extract every IP address, CIDR block and MAC, normalized and classified by scope.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

extract_ips

Extract every IP address, CIDR block and MAC address from a document, normalized and classified. IPv6 is canonicalized per RFC 5952, so 2001:0db8::0001 and 2001:db8::1 come back as one address rather than two. Each finding carries its line, column and — for JSON, YAML, TOML, INI, dotenv, CSV and logs — the key it sits under. Text this cannot read unambiguously is returned as a named refusal, never as a guess: a leading zero (octal or decimal, depending on the resolver), a dotted triple that may be a version, a bare integer in an address field. Resolves no names, geolocates nothing, opens n…

ParameterTypeDescription
content *stringThe document text to scan.
classarrayReport only these classes. Refusals are always reported.
filenamestringFilename used to infer the format when `format` is absent, e.g. "app.yaml" or "access.log".
formatstringDocument format. Optional — it only decides whether findings carry a key path, never whether they are found.
kindarrayReport only these kinds. Refusals are always reported.
maxResultsintegerCap on returned findings (default 500). meta.truncated reports whether any were dropped.