We were writing in an order that Darknet executables in memory and we executed.
This is all to see.
The calendar to see.
And here you can see the finances of this man raised on this own cable.
And if you want to
transfer to this machinery to the machine, uh, or you can also do like you can transfer this loader
and you can horsepower grinder and this will automatically fetch from the portal and that is executed.
So first, let's see how to load the assemblies, botnet assemblies from the.
So let me create the simple function.
Learned from fight.
And this takes the spring file park.
And we'll be using the system that reflection.
So the reflection is like reading the metadata of the assembly itself so we can see as assembly.
Dot Road.
So here we can see.
We have also learned a lot from using roadside.
And the string part that inspired part and written by piece assembly object.
So we cannot execute this assembly, but in true point.
So the central point is the main function in our doctor and assemblies and that.
And the first parameter is you need to if you want to create an instance of this class, you can create
that and you can pass that into this.
For now, let's just say null and the parameters we are going to pass is the object array of string.
So we will be creating a string error, new arguments.
So here we can pass our arguments.
Gamma new object area.
Of new.
So this is my.
Springer.
That is argumentative.
That is the object.
So at this point, uh, we cannot be past the final part and that executable gets executed.
So we can say program.
We can't be that low profile.
So here we need to pass the fight.
And we created another, uh.
Program.
That is my sandbox.
So you on this one?
And it's that message box.
So hard shifting rhetoric on this and cops.
But.
And after that, what we can do is begin to come.
But as anything to.
Continue.
So let's go and run this one.
And now we can see our dot net has been loaded and successfully neutered.
One thing you can notice is, uh.
The program execution has transferred from this location over to this invoke.
And we're going to undertake the uh.
Okay.
Button on the button.
The execution continues.
So see anything to continue so we can press any key to exit the program.
So if you want to execute some other code along with our binary, what we can do is we can create a
new thread.
So we can set thread basically a tradeoff.
So here we can say, uh, lambda expression, and now we can copy these two lines over here and put
this in your column.
So this will create a new thread and the thread will execute this code and we can considered to be that
start.
So you need to join.
So if you set it up, join the main thread suspense until the street gets computer.
So it's similar to what we have done previously.
So what you can see we did not get the press anything to continue.
Now let's go and comment this one.
So this thread was probably our main thread.
So let's run this.
And here you can see our nationalism.
Yeah.
That you could read.
And in this.
Apparently our main thread has been continued.
So I cannot press anything to continue until my this has been stopped.
So now what we're going to do is we're going to write another function that is public void lowered from
you are.
So this will take the parameter string that is that you order.
And when we're using a system that network.
So if you run the PowerShell download function to download anything from PowerShell from the machine,
you can say you are using system that dot that download string.
So the same dot net class we'll be using here.
So web.
Client WB the risks you cost to new web client and they will be that.
Let me see that.
And here you can see a downward strain.
So these were downward.
And if you have this partial in rock expression, you can barely pass that.
Otherwise you can see downward data.
So this will download the data from the you are and this will.
But it is brighter.
So we can by.
File content is equal to this one.
So we have the matter that we can simply.
Uh, use the load function.
Read this file content.
So we're going to get some print.
Copy this one.
Year to year.
So let me comment this one regarding Sir Peter Lord from.
You are in love.
So let's go and bring our server.
So I'd say it's GDP, 8000 slash.
Message box the one that the see.
So they should do fine.
So let's go and run this one.
And here we can see the request from the machine to the message box to the model to exit.
So it's our same box.
So the IP addresses the same.
So you can see now we can continue the program.
Now let's, uh, this is about the simple right now.
Let's see the calendar to see.
Because somebody is doing this to clean their dirty.
And then what we need to do is we need to pass the commander in arguments because our silicone takes
diaper, does put in the payload to serve a purpose.
So we consider.
So evident.
I am running already the server.
And the number is one, two, three, four.
And the payroll server is the same IP address and you can just double it zero zero.
So let's go and run this one.
And if you're going to finish this and here you can see we've got that connection and we can also see
our main thread gets continued regardless of our mood.
So we can go and execute the comments.
So tell us about this really are a pretty simple roadmap.
So you can also experiment by removing this common data joint.
So our main thread got suspended and we get that a new connection where you're going to execute the
comments.
So if you want to write any code, if you want to write something that should continue after our daughter
doesn't like the can, you can simply comment commandeer this one rather than just simply just start
the thread.
So to run the parallel to the main thread.