Discover Packages
github.com/secinto/nmapParser
parser
package
Version:
v0.0.0-...-4b843af
Opens a new window with list of versions in this module.
Published: Jun 14, 2024
License: Apache-2.0
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.
Documentation
Documentation
¶
type Config struct {
ProjectsPath string `yaml:"projects_path"`
PortsXMLFile string `yaml:"ports_xml,omitempty"`
HostMapping string `yaml:"host_mapping,omitempty"`
}
type Host struct {
IP string `json:"ip"`
Name string `json:"hostname"`
Services []Service `json:"services"`
AssociatedNames []string `json:"associatedNames"`
}
type NmapParser struct {
}
ParseOptions parses the command line flags provided by a user
type Project struct {
Name string `yaml:"name"`
}
type Service struct {
Number int `json:"port"`
Protocol string `json:"protocol"`
Name string `json:"name"`
State string `json:"state"`
Product string `json:"product,omitempty"`
Description string `json:"description,omitempty"`
OS string `json:"ostype,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.