1 00:00:00,510 --> 00:00:06,180 ‫Now, I just wouldn't be me if I didn't show you another way to collect information from the S&P service. 2 00:00:07,020 --> 00:00:10,800 ‫So let's have a look at the S&P Check Command Line tool. 3 00:00:11,700 --> 00:00:19,260 ‫S&P Check allows you to enumerate the S&P devices and places the output in a very human, readable, 4 00:00:19,260 --> 00:00:20,100 ‫friendly format. 5 00:00:20,700 --> 00:00:24,150 ‫It could be useful for penetration testing or systems monitoring. 6 00:00:26,040 --> 00:00:32,880 ‫So here we are in Cali again with a terminal screen, if you write as an MP and hit tab twice. 7 00:00:33,780 --> 00:00:36,900 ‫You see the colleague commands, which start with as an MP. 8 00:00:38,340 --> 00:00:40,890 ‫So this is our command as an MP check. 9 00:00:41,670 --> 00:00:43,770 ‫Let's look at the manual of the command first. 10 00:00:43,920 --> 00:00:49,410 ‫So type man, as an MP, check and hit enter to access the manual page. 11 00:00:50,500 --> 00:00:51,280 ‫Name the command. 12 00:00:52,450 --> 00:00:55,330 ‫And options appear to identify Port. 13 00:00:58,250 --> 00:00:59,870 ‫S. to identify community. 14 00:01:01,790 --> 00:01:04,160 ‫W to detect right access all that. 15 00:01:05,240 --> 00:01:08,210 ‫And of course, you're going to exit the manual by pressing queue. 16 00:01:09,140 --> 00:01:10,640 ‫OK, so let's build a command. 17 00:01:11,730 --> 00:01:12,780 ‫As an MP check. 18 00:01:14,530 --> 00:01:21,700 ‫We don't need to identify the port because it's already one six, one by default sea to identify a community. 19 00:01:22,570 --> 00:01:25,750 ‫Now we know that our router has two communities public and private. 20 00:01:26,680 --> 00:01:29,620 ‫Let's look at the right privilege of the private community. 21 00:01:30,340 --> 00:01:32,620 ‫And finally, the IP address of our router. 22 00:01:38,250 --> 00:01:40,170 ‫The result output is very long. 23 00:01:40,410 --> 00:01:42,360 ‫It's the configuration of the router. 24 00:01:43,560 --> 00:01:46,530 ‫So let's scroll off to see the first lines of the results yet. 25 00:01:47,250 --> 00:01:50,490 ‫OK, so here is the right access check result. 26 00:01:51,300 --> 00:01:54,660 ‫And as you can see here, the private community is right. 27 00:01:54,660 --> 00:01:55,800 ‫Access permitted. 28 00:01:57,650 --> 00:02:00,860 ‫What else do we have any output system information? 29 00:02:02,500 --> 00:02:07,270 ‫Network information, the status of the switchboards of the router. 30 00:02:09,880 --> 00:02:10,990 ‫Network is. 31 00:02:12,910 --> 00:02:13,870 ‫Routing table. 32 00:02:15,920 --> 00:02:18,290 ‫And the list of open UDP ports.