package
0.0.0-20240523144707-f5b61b103af6
Repository: https://github.com/packetloop/zgrab2.git
Documentation: pkg.go.dev

# Functions

Writes an "attribute-with-one-value" with the provided "value-tag", "name", and "value" to provided buffer attribute-with-one-value encoding described at https://tools.ietf.org/html/rfc8010#section-3.1.4 Example (runnable from ipp_test.go): Input: 0x47, "attributes-charset", "us-ascii" Output: [71 0 18 97 116 116 114 105 98 117 116 101 115 45 99 104 97 114 115 101 116 0 8 117 115 45 97 115 99 105 105] TODO: Switch output and Example function to use hex.Dump() TODO: Should return an error when fed an invalid valueTag.
TODO: Eventually handle scheme-less urls, even though getHTTPURL will never construct one (we can use regex) TODO: RFC claims that literal IP addresses are not valid IPP uri's, but Wireshark IPP Capture example uses them (Source: https://wiki.wireshark.org/SampleCaptures?action=AttachFile&do=view&target=ipp.pcap).
RegisterModule registers the zgrab2 module.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
ErrRedirLocalhost is returned when an HTTP redirect points to localhost, unless FollowLocalhostRedirects is set.
ErrTooManyRedirects is returned when the number of HTTP redirects exceeds MaxRedirects.
TODO: Explain this error.
No description provided by the author

# Structs

No description provided by the author
Flags holds the command-line configuration for the ipp scan module.
Module implements the zgrab2.Module interface.
Scanner implements the zgrab2.Scanner interface.
TODO: Tag relevant results and exlain in comments ScanResults instances are returned by the module's Scan function.
No description provided by the author