WEBVTT

00:00:01.240 --> 00:00:01.770
Hey there.

00:00:01.780 --> 00:00:03.240
Welcome to our lab environment.

00:00:03.530 --> 00:00:05.950
As I mentioned before, I have here two machines.

00:00:06.640 --> 00:00:09.570
This one here is the attacker machine, and this

00:00:09.570 --> 00:00:11.650
other one here is my victim machine.

00:00:12.440 --> 00:00:15.560
Both of them are Kali Linux virtual machines, but they

00:00:15.560 --> 00:00:17.260
could be any Linux machine you want.

00:00:18.240 --> 00:00:20.300
Okay, so let's start our installation process.

00:00:20.430 --> 00:00:23.900
We'll be using here the Python PIP to install the pwncat.

00:00:25.040 --> 00:00:27.620
So first of all, we need to ensure that our system is up

00:00:27.620 --> 00:00:32.860
to date. For that, I will open the terminal, log as root,

00:00:33.740 --> 00:00:36.160
and then use apt‑get update.

00:00:38.440 --> 00:00:39.070
Perfect.

00:00:39.080 --> 00:00:42.290
Now let's run an apt‑get upgrade to ensure that

00:00:42.290 --> 00:00:43.750
everything is in the latest version.

00:00:44.440 --> 00:00:47.160
This process here might take a little while so to not

00:00:47.160 --> 00:00:48.850
waste your time, I'll speed up this video.

00:00:50.840 --> 00:00:51.300
Perfect.

00:00:51.310 --> 00:00:56.170
It is completed. Now we need to install the Python PIP. For that,

00:00:56.180 --> 00:01:05.730
I'll use apt‑get install python3‑pip. Perfect.

00:01:05.740 --> 00:01:07.520
It looks like we have the PIP installed.

00:01:07.690 --> 00:01:12.010
Now, we can finally use the PIP to install pwncat. For that, I'll

00:01:12.010 --> 00:01:19.970
type pip3 then install and then pwncat‑cs. Perfect.

00:01:19.980 --> 00:01:22.360
This will download and install all the necessary files.

00:01:22.840 --> 00:01:25.360
We don't need to worry about downloading the source code and setting up

00:01:25.360 --> 00:01:30.560
the environment variables. PIP does everything for us. And once this is

00:01:30.560 --> 00:01:34.330
completed, we're ready to run pwncat. And just to test if this is

00:01:34.330 --> 00:01:37.060
working, I'll run the pwncat‑cs command.

00:01:38.740 --> 00:01:39.310
Amazing.

00:01:39.310 --> 00:01:39.850
It works.

00:01:40.060 --> 00:01:43.030
So in the next demo, we'll see how to get our reverse shell with

00:01:43.030 --> 00:01:45.250
pwncat and how to use some basic features.
