Hello, everyone, welcome to another video of our Pythonesque since last time we talked about how to
create a show code and how to send it over Python socket.
Today we will talk about other useful python functions that we can use for our back as well.
Like, for instance, we can make our battledore to download some files from from our server using the
open function function with read binary and write binary.
If you look at the left side.
This is a client.
It's using the Arbi for read binary and the server is using the right B for write binary.
Only one of them need to send and the other one needs to receive.
Of course you can make both of them to send and receive at the same time.
But the one is receiving it needs to use the WB for writing the file to the server.
I will leave that for you to try on your own.
Finally, we need to talk talk about how to convert this backdoor into an easy file using the pie in
a Stolar script.
The pioneer solar takes few arguments, the dash dash, one final argument or dash upper case f create
a single file, the dash dash new console or the dash dummy runs the Pythonic C file in the background.
Of course we want both of them right now.
I'm going to show you a tool that I built before that.
Maybe it will give you some inspiration.
And also I will summarise everything we've been talking about.
Well, the in command didn't work at the first time, so let's try again.
Should work on the system, reboot or log off and log on it, and so let's try again.
And it's in.
Yup, we got an interpreter.
So this, in fact, command should be working upon a system reboot or of course, if you log off a log
of log on again, it should work.
But the first command and interpreter is the same one that we discussed before, is injecting interpretor
into a running process.
You can also do download something from Target and upload.
This is just an example of how your command and control or your backdoor should be looking like or all
the functions that you should be implementing.
I think we have reached the end of this lesson, so please practice and see you in the next one.