So let's briefly go over file transfers and what we've seen in the course and just talk about a couple
of things that we might not have done but we should still be familiar with.
So we as an attacker we usually will host a file in the typical way that we like to host files is with
Python.
So here in the GDP we've got Python dash and the simple HP server on port 80 and we can get that via
Windows in quite a few different ways.
Right.
We can say search you till your cash and then the file and grab the file and this is actually a space
here in between and we could say we have already P access to the machine and we just want to grab the
file easily we could just navigate to the address where the file is being hosted and grab it off the
Web site as well and say for some reason that we can't use certain until maybe search you tell is blocked
maybe you're you're getting blocked by Windows Defender or something and it's suspicious.
Well guess what.
Both Linux and Windows have FTB features right.
So we can use Windows FTB and host up FTB on our attacker machine so we can say python module of Pi
f TPD live on port twenty one and then from the windows machine we'll just say f G P to the attacker
IP address and we can grab files that way as well.
We can grab files on Linux with W get as you should be familiar with by now.
And last mention honorable mention that's not even on this list is Metis blight Meadows boy has the
upload download feature so if you have a mature operator shell it's very easy to upload or download
a file.
So this should just be reviewed to you by all the methods that we've gone through especially with the
midcourse Capstone you should've got a feel for all the different ways that you can transfer a file.
So just think of this in post exploitation if there's something that you need to do.
The typical way we're doing it is we're hosting up a file with Python and either on HDP server or the
PI FTB server and then we're going and we're just grabbing it with something like certain till or we're
grabbing it with something like FTB in a brown Linux it's super easy we just use w get OK so keep that
in mind.
And again if you have the Metis boy or mature British shell then you can use the upload download feature.
So that's it for this lesson.
We're gonna go ahead and move on to talk about maintaining access and just talk through some basic strategies
there.