Now.
I just wouldn't be me if I didn't show you another way to collect information from the SNP service.
So let's have a look at the SNP check command line tool.
SNP check allows you to enumerate the SNP devices and places the output in a very human readable, friendly
format.
It could be useful for penetration testing or systems monitoring.
So here we are in Cali again with a terminal screen.
If you write SNMp and hit tab twice, you see the Cali commands which start with SNMp.
So this is our command SNMp check.
Let's look at the manual of the command first.
So type man SNMp check and hit enter to access a manual page.
Name the command.
An options p to identify port.
See to identify community.
W to detect, write, access, all that.
And of course you can exit the manual by pressing Q.
Okay, so let's build a command.
SNP check.
We don't need to identify the port because it's already 161 by default.
See to identify community.
Now we know that our router has two communities, public and private.
Let's look at the right privilege of the private community.
And finally, the IP address of our router.
The result output is very long.
It's the configuration of the router.
So let's scroll up to see the first lines of the result set.
Okay, so here is the write access check result.
And as you can see here, the private community is write access permitted.
What else do we have in the output?
System information.
Network information.
The status of the switch ports of the router.
Network IPS.
The routing table.
And the list of open UDP ports.