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 ¶
func RunPentest(ctx context.Context, config *snmpfern.PentestSnmpConfig) (*snmpfern.PentestSnmpReport, error)
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.
Click to show internal directories.
Click to hide internal directories.