Documentation ¶
Index ¶
- Constants
- func AppendIfMissing(slice []string, key string) []string
- func CheckIfFileExists(path string, stopRunning bool) bool
- func ConvertJSONLtoJSON(input string) string
- func ConvertStringArrayToString(stringArray []string, separator string) string
- func ExistsInArray(slice []string, key string) bool
- func ExtractDomainAndTldFromString(str string) string
- func GetAllRecordsForKey(document *jsonquery.Node, key string) []*jsonquery.Node
- func GetDocumentFromFile(filename string) *jsonquery.Node
- func GetHostCounts(document *jsonquery.Node) map[string]int
- func GetHostURL(str string) string
- func IsUrl(str string) bool
- func NewLogger() *logger
- func RandStringRunes(n int) string
- func ReadTxtFileLines(path string) []string
- func WriteToTextFileInProject(filename string, data string)
- type Config
- type Duplicate
- type Options
- type Remover
- type SimpleDNSXEntry
- type SimpleHTTPXEntry
Constants ¶
View Source
const VERSION = "0.2.2"
Variables ¶
This section is empty.
Functions ¶
func AppendIfMissing ¶
func CheckIfFileExists ¶
func ConvertJSONLtoJSON ¶
func ExistsInArray ¶
func GetAllRecordsForKey ¶
func GetDocumentFromFile ¶
func GetHostURL ¶
func RandStringRunes ¶
func ReadTxtFileLines ¶
Types ¶
type Options ¶
type Options struct { SettingsFile string Project string BaseFolder string Domains bool Email bool Ports bool Silent bool Version bool NoColor bool Verbose bool }
func ParseOptions ¶
func ParseOptions() *Options
ParseOptions parses the command line flags provided by a user
type Remover ¶
type Remover struct {
// contains filtered or unexported fields
}
func NewRemover ¶
func (*Remover) CleanDomains ¶
func (p *Remover) CleanDomains()
type SimpleDNSXEntry ¶
type SimpleDNSXEntry struct { Host string `yaml:"host"` IPv4Addresses []string `yaml:"ipv4"` IPv6Addresses []string `yaml:"ipv6,omitempty"` WhoisInfo string `yaml:"whois,omitempty"` }
func CreateSimpleDNSEntryFromDPUX ¶
func CreateSimpleDNSEntryFromDPUX(record *jsonquery.Node) SimpleDNSXEntry
func GetSimpleDNSEntryForHost ¶
func GetSimpleDNSEntryForHost(document *jsonquery.Node, host string) SimpleDNSXEntry
type SimpleHTTPXEntry ¶
type SimpleHTTPXEntry struct { Host string BodyHash string Status int ContentLength int Lines int Words int Input string URL string Title string UseIfDuplicate bool `default:false` }
func CreateSimpleHostEntryFromHTTPX ¶
func CreateSimpleHostEntryFromHTTPX(entryValues map[string]interface{}) SimpleHTTPXEntry
func GetSimpleHostEntryForHost ¶
func GetSimpleHostEntryForHost(document *jsonquery.Node, host string) []SimpleHTTPXEntry
Click to show internal directories.
Click to hide internal directories.