snmp

package
v0.0.194 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package snmp implements active SNMP pentest operations (write-access probing).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunPentest

RunPentest performs SNMP pentest operations across all configured targets and actions.

func RunWriteTest

func RunWriteTest(ctx context.Context, target string, config *snmpfern.PentestSnmpConfig) (*snmpfern.WriteTestResult, []string)

RunWriteTest probes for writable SNMP access by issuing an SNMP SET against a benign OID (sysContact by default), restoring the original value on success. For v1/v2c it tests each community string; for v3 it tests NoAuthNoPriv access for each configured username.

Types

This section is empty.

Jump to

Keyboard shortcuts

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