From 2c962552545949f12c274c46f48f60d14fbf381c Mon Sep 17 00:00:00 2001 From: Omar Santos Date: Wed, 10 Jan 2018 13:31:05 -0500 Subject: [PATCH] adding snmp useful commands --- useful_commands_and_scripts/snmp.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 useful_commands_and_scripts/snmp.md diff --git a/useful_commands_and_scripts/snmp.md b/useful_commands_and_scripts/snmp.md new file mode 100644 index 0000000..bd703fc --- /dev/null +++ b/useful_commands_and_scripts/snmp.md @@ -0,0 +1,13 @@ +# 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`