snmp

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IpAddr

type IpAddr struct {
	Ip       string
	Port     int
	Protocol string
}

type ScanResult

type ScanResult struct {
	Service *Service
	Result  bool
}

func ScanSNMP

func ScanSNMP(s *Service) (err error, result *ScanResult)

default port: 161/162, more see: https://nmap.org/book/scan-methods-udp-scan.html

type Service

type Service struct {
	Ip       string
	Port     int
	Protocol string
	Username string
	Password string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL