shogo/internal/shodan/shodan.go
perp 3e6efdb181 Added commands
Added new commands.
2023-08-03 23:49:57 +01:00

30 lines
653 B
Go

package shodan
import (
"git.tcp.direct/perp/shogo/internal/shodan/alert"
"git.tcp.direct/perp/shogo/internal/shodan/scan"
)
// Shodan manager
type Shodan struct {
Scan *scan.Scan // Scan commands
Alert *alert.Alert // Alert commands
Flags *Flags // Command flags
Results chan string // Results channel
}
type Flags struct {
// General flags
Args []string // Command arguments
Query string // Search query
Facets string // Facet flters
Threads int // Thread amount
// Info flags
Profile bool // Profile info
// Search flags
Fields []string // Filter fields
Separator string // Filter separator
}