1 00:00:01,530 --> 00:00:08,680 When we inquire about our platform and action on our processes, we usually don't want all the processes 2 00:00:08,700 --> 00:00:09,930 displayed on the screen. 3 00:00:10,380 --> 00:00:12,970 It's simply a problem of too much information. 4 00:00:12,990 --> 00:00:16,770 Most often we want to find information on a single process. 5 00:00:17,280 --> 00:00:20,160 So to do so, we can use a filtering command. 6 00:00:20,610 --> 00:00:21,990 Grip it. 7 00:00:23,160 --> 00:00:23,520 Correct. 8 00:00:28,000 --> 00:00:28,420 So. 9 00:00:30,380 --> 00:00:37,580 Uh, which, um, we introduced the script command in previous lectures, so we will use this command 10 00:00:37,580 --> 00:00:45,080 more so to demonstrate we'll use them to escalate exploitation framework to the most widely used exploitation 11 00:00:45,080 --> 00:00:47,600 framework and nearly every hackers good friend. 12 00:00:48,050 --> 00:00:54,530 So this comes installed in your car system to start Metasploit with, uh, Metasploit. 13 00:00:54,770 --> 00:01:02,200 You will enter the new Terminal Open New tab here and, uh, write immersive console. 14 00:01:06,830 --> 00:01:15,710 It might take some, uh, uh, some sequence here, uh, or minus depending on your, uh, systems. 15 00:01:16,290 --> 00:01:16,910 Uh, here. 16 00:01:17,890 --> 00:01:18,340 So. 17 00:01:21,200 --> 00:01:24,680 So our Metasploit is, uh, started here. 18 00:01:24,980 --> 00:01:31,460 So now, now, for example, once the exploitation framework has been started, let's see whether we 19 00:01:31,460 --> 00:01:37,790 can find it in the list of processes to do some news, a piece piece here. 20 00:01:38,070 --> 00:01:47,240 Piece outs, um, command and the pipe here after that to go looking for the string immersive console 21 00:01:47,240 --> 00:01:49,760 and the grab and massive console. 22 00:01:51,530 --> 00:01:55,580 As you can see here, we have two processes in MSF console. 23 00:01:55,670 --> 00:02:01,010 The first site is one hundred one thousand six hundred seventy five seven to one. 24 00:02:01,280 --> 00:02:05,750 And the second is one hundred sixty one thousand six hundred ninety nine. 25 00:02:06,320 --> 00:02:12,470 So from the from the filter that's put in the listing, you should see all the processes that match 26 00:02:12,480 --> 00:02:14,030 the term MSF console. 27 00:02:14,870 --> 00:02:23,720 So that or PostgreSQL database, which is the database of UM, which is the database of any Metasploit 28 00:02:23,720 --> 00:02:29,570 users, is showing them the Metasploit program itself from a user being MSF console. 29 00:02:30,020 --> 00:02:35,750 Finally, you should see the group command used to look for MSF console. 30 00:02:35,990 --> 00:02:39,830 Note is that the output did not include the column header list from appears. 31 00:02:40,100 --> 00:02:44,750 So the key word MSF console is not in the header, it's not displayed. 32 00:02:44,750 --> 00:02:47,360 Even so, the results are displayed in the same format. 33 00:02:47,960 --> 00:02:50,750 From this, you can learn some important information. 34 00:02:51,590 --> 00:02:54,980 If, for example, you need to know how many resources which sport is using. 35 00:02:54,990 --> 00:03:03,680 You can consult a third column, the CPU column here, um, in the CPU column to see who it's using 36 00:03:03,950 --> 00:03:07,670 and 19 per cent of your CPU. 37 00:03:07,670 --> 00:03:15,530 It may be different in your computer or call system here and consoles the third column so that using 38 00:03:15,530 --> 00:03:24,680 the um, four percent four percent of our memory system memory, this is quite a bit it's, uh, demanding 39 00:03:24,820 --> 00:03:25,210 best. 40 00:03:26,090 --> 00:03:29,600 So finding the greediest processes with top. 41 00:03:30,800 --> 00:03:37,010 So when you enter the P common like that, the processes are displayed in the order. 42 00:03:37,010 --> 00:03:43,930 They were started here and sends the kernel a science process ID in order that they have started. 43 00:03:43,940 --> 00:03:47,750 What you see is this order by providing no. 44 00:03:49,520 --> 00:03:54,590 So in many cases, we want to know which processes are using the most resources. 45 00:03:55,250 --> 00:03:59,990 This is where the top command comes in handy because it is it. 46 00:04:00,350 --> 00:04:08,390 It displays the processes ordered by resources users starting with the largest here, as you can see 47 00:04:08,390 --> 00:04:08,660 here. 48 00:04:16,450 --> 00:04:25,870 So unlike the moment, which gives us a one time snapshot of the pro cases, so the top of the list 49 00:04:25,870 --> 00:04:35,060 dynamically by default, every 10 seconds or five seconds here so you can watch and monitor those resources, 50 00:04:35,090 --> 00:04:38,410 resource hungry processes, as shown here. 51 00:04:44,380 --> 00:04:47,890 The now we will and you will learn managing presence, this senior. 52 00:04:49,710 --> 00:04:53,340 So in next electoral, you will learn it, so I'm waiting here in the next election.