From 1f4ee0fc3fb82015599756ae97622d7617f2e02b Mon Sep 17 00:00:00 2001 From: Frank MacMini Date: Thu, 2 Jan 2025 20:06:26 +0100 Subject: [PATCH] add enumeration for SNMP extended objects --- autorecon/default-plugins/snmpwalk.py | 1 + 1 file changed, 1 insertion(+) diff --git a/autorecon/default-plugins/snmpwalk.py b/autorecon/default-plugins/snmpwalk.py index 5263700..b094523 100644 --- a/autorecon/default-plugins/snmpwalk.py +++ b/autorecon/default-plugins/snmpwalk.py @@ -14,6 +14,7 @@ class SNMPWalk(ServiceScan): async def run(self, service): await service.execute('snmpwalk -c public -v 1 {address} 2>&1', outfile='{protocol}_{port}_snmp_snmpwalk.txt') + await service.execute('snmpwalk -c public -v 1 {address} NET-SNMP-EXTEND-MIB::nsExtendObjects 2>&1', outfile='{protocol}_{port}_snmp_snmpwalk.txt') await service.execute('snmpwalk -c public -v 1 {address} 1.3.6.1.2.1.25.1.6.0 2>&1', outfile='{protocol}_{port}_snmp_snmpwalk_system_processes.txt') await service.execute('snmpwalk -c public -v 1 {address} 1.3.6.1.2.1.25.4.2.1.2 2>&1', outfile='{scandir}/{protocol}_{port}_snmp_snmpwalk_running_processes.txt') await service.execute('snmpwalk -c public -v 1 {address} 1.3.6.1.2.1.25.4.2.1.4 2>&1', outfile='{protocol}_{port}_snmp_snmpwalk_process_paths.txt')