command
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jul 6, 2023
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
ssrfgen
ssrfgen is a small CLI responsible for retrieving and transforming the IP
prefixes listed in the IANA Special Purpose Registries for IPv4 and IPv6.
It works by:
- Retrieving the CSV with prefixes
- Transforming each network listed into a series of prefixes
- Reducing the prefixes by removing redundant entries
- Writing out a template for Go code and formatting it with
go fmt
Usage
$ go run code.dny.dev/ssrf/cmd/ssrfgen -help
Usage of ssrfgen:
-output.gen string
file to write the generated code into
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.