h4cker/useful_commands_and_scripts/snmp.md
2018-01-10 13:31:05 -05:00

13 lines
360 B
Markdown

# Useful SNMP Commands
# Search for Windows installed software
`smpwalk !grep hrSWinstalledName`
## Search for Windows users
`snmpwalk ip 1.3 lgrep --.1.2.25 -f4`
## Search for Windows running services
`snrnpwalk -c public -v1 ip 1 lgrep hrSWRJnName !cut -d" " -f4`
## Search for Windows open TCP ports
`smpwalk lgrep tcpConnState !cut -d" " -f6 !sort -u`