Versions in this module Expand all Collapse all v0 v0.0.1 Feb 10, 2022 Changes in this version + func GetCameraAdminPanelURL(stream Stream) string + func GetCameraRTSPURL(stream Stream) string + func WithAttackInterval(interval time.Duration) func(s *Scanner) + func WithCustomCredentials(dictionaryPath string) func(s *Scanner) + func WithCustomRoutes(dictionaryPath string) func(s *Scanner) + func WithDebug(debug bool) func(s *Scanner) + func WithPorts(ports []string) func(s *Scanner) + func WithScanSpeed(speed int) func(s *Scanner) + func WithTargets(targets []string) func(s *Scanner) + func WithTimeout(timeout time.Duration) func(s *Scanner) + func WithVerbose(verbose bool) func(s *Scanner) + type Credentials struct + Passwords []string + Usernames []string + func ParseCredentialsFromString(content string) (Credentials, error) + type Curl struct + func (c *Curl) Duphandle() Curler + type Curler interface + Duphandle func() Curler + Getinfo func(info curl.CurlInfo) (interface{}, error) + Perform func() error + Setopt func(opt int, param interface{}) error + type Options struct + Credentials Credentials + Ports []string + Routes Routes + Speed int + Targets []string + Timeout time.Duration + type Routes []string + func ParseRoutesFromString(content string) Routes + type Scanner struct + func New(options ...func(*Scanner)) (*Scanner, error) + func (s *Scanner) Attack(targets []Stream) ([]Stream, error) + func (s *Scanner) AttackCredentials(targets []Stream) []Stream + func (s *Scanner) AttackRoute(targets []Stream) []Stream + func (s *Scanner) DetectAuthMethods(targets []Stream) []Stream + func (s *Scanner) LoadCredentials() error + func (s *Scanner) LoadRoutes() error + func (s *Scanner) LoadTargets() error + func (s *Scanner) PrintStreams(streams []Stream) + func (s *Scanner) Scan() ([]Stream, error) + func (s *Scanner) ValidateStreams(targets []Stream) []Stream + type Stream struct + Address string + AuthenticationType int + Available bool + CredentialsFound bool + Device string + Password string + Port uint16 + RouteFound bool + Routes []string + Username string + func (s Stream) Route() string