Hey, what's up, you guys, so we are back in full effect.
I'm going to actually show you a third method of connecting to the hack, the box penetration testing
environment.
Right.
So the previous lecture I showed you how you can connect a phone box to SSA.
And before that, we learned how we can get to it through the Web interface.
But still, you might prefer to use the open VPN client, which is the old school method of connecting.
Now, this is a method I still use and I do it through VMware workstation.
Of course, you can install callisthenics on your host machine, but you know, I prefer to use windows
on the whole and that I have Kawi as a guest VM.
So first you make sure you have your Calli operating system installed and set up.
You know, in this election, I'm not going to show you how to set up Calli, but if you want, I will
go ahead and publish a video on that mailing this video.
This course is about privilege, escalation.
It's not about setting up Calli Linux.
Right.
So that's a separate piece.
But leave a comment if you want to see that.
Anyway, go ahead and go to the hack the box.
Right.
And log in and the upper right corner connection settings open VPN you such a VPN access.
I'm going to USV VIP lab because I'm a VIP member and I'm in the U.S. put my server that I download
the VPN back.
Something goes wrong like this.
It's OK, try it again and then you see it.
It says the server has been switched and you should see in a moment a pop up that lets you download
the VPN back.
If you don't see anything pop up kind of like me, you can, you could download VPN and it should just
allow you to download it.
Here we go.
So you click save and then that downloads, as you can see, it looks like a completed.
All right, so.
It's done.
Let's go to the shell, so I press the Windows key type terminal and get in the terminal.
OK, so let's see what LMI using.
This is S.H..
Yes, very cool.
OK, so we are in the penthouse directory.
I'm going to move it from my downloads directory, which I believe I can go to now.
Yes, I'm going to move from here into different folders so you don't move.
Exactly.
That's I see how it goes.
Completed this because I'm using DSH, which is the new default shell for.
I can just put the right arrow in automatically complete what I typed in the past and it'll just drop
it there.
All right.
So now I can go to Box's Arctic ice box is going to be working on, then I can do Tmax new and I want
to do a new screen.
So Tmax kind of like screen, sort of like Terminator.
I recommend that you do all of your exercises or the all the examples or the best examples in this course
in two months.
And don't worry if you never use teammates before as first popularized by.
That's how I learned about it and learned about it.
But I'm going to show you how to use it as we go through this course.
So you're going to learn it as we go.
So this just starts a new a new session.
All right.
So now we were in the session.
I'm actually going to go full screen to make a little bit easier for us to work in this environment.
So I'm going to click on screen here.
And the resolution is way too high, so I'm going to hit the Windows Key.
DPI change of Kelly DPI mode so that everything gets better with Windows scaling something click Yes,
then I need to actually close out of the terminal because out of Firefox and then load everything back
again, some terminal back and then load Firefox.
So the sessions we have one there is the HDB session, so let's just get back into that session.
You want to go to this Hackleburg session?
Here we are.
So first thing I want to do is get on, connect to the VPN, and that's really what this is all about.
So first, I'm going to name and the bottom left corner.
See how it says HDB zero Colon's star.
So the star means I'm on this.
I'm on this particular pain or tab in my terminal is the terminal is currently named ZJ and it's number
zero.
So I'm going to press controlled the comma.
Rename this VPN enter right.
Then I'm going to say sido open VPN config, open space dachas config and then I'm going to go up a
directory and go to the Vinda OVP and file we download a moment ago I in my password.
And that should connect me and we're going to go ahead and start the machine, so I'm trying to do this
all tap to switch.
Let's go to a search bar in the Arctic.
There it is.
OK, and now we're just going to start it up, some live export machine, and this will create the instance
for us.
Then the last step will just be tipping it to confirm that we're connected to the VPN also show you
well, that starts up we press control B, C, they control the comma again, and then we can enter
and we create a new traffic control, B, C creates a new tab, C4 create.
And if we do IPA and enter, you can see we have a couple of adapters that you should only have one
ton adapter, the ten adapters.
You can only be Pantanal.
If you have more than one you need to kill one.
Let me show you how to do that.
All right, there we go.
So now we're good to go and you can see we've got an IP address on the VPN.
Easier way to see this is just the IPA grep INET grep zero.
There you go.
This is still creating it takes a few minutes, so to speak, a little bit patient, I'll get back to
you once it's done.
So we see that it's online.
So let's see if we can ping this address.
So let's go in.
And I'm just going to count four four.
That's where the decedents that we're good, we can think it.
All right.
So in the next lecture, we're going to go ahead and start the compromise phase and will move into the
privacy piece.
All right.
I will see you in the next lecture.