ssrfgen

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 14 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL