Wget

Hi folks,

I’ve been a member of HTB for a few days now and so far I’m loving it.

I’m learning a lot as I go through boxes and challenges.

I was always shocked by how you guys can transfer files to a box so easily. It’s like everytime I got it, I saw a bunch of LinEnum.sh scripts in there, etc etc.

I suppose you guys use the wget command, but since the machines are off the internet, how do you exactly download a script onto a HTB machine?

Thanks a lot and sorry if my ignorance is painful to you guys, I’m still very, very new to all this.

Most of us download the most commonly used scripts to a folder on our vm, and then when we need them, we just use python’s SimpleHTTPServer or some other quick web server to host those scripts on our machine, and then we wget them from the machine using wget YourIP:8000/scriptname

Yeah alright that’s what I figured, just wanted to be sure

Neat trick though ^^

Thanks for your answer @CTFPiggy ! :slight_smile:

@Pomme said:
Yeah alright that’s what I figured, just wanted to be sure

Neat trick though ^^

Thanks for your answer @CTFPiggy ! :slight_smile:

no problem :slight_smile:

I suppose you guys use the wget command, but since the machines are off the internet, how do you exactly download a script onto a HTB machine?

Thanks to VPN we are in the same subnet of the HTB machines. Then, as @CTFPiggy said, we can use whatever tool that permits us to download/upload files from/to our machine.