mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-29 06:00:18 +00:00
14 lines
360 B
Markdown
14 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`
|