Transfer Files
Techinque
Transfer Files
Methods on Linux
1. Python Webserver
Start a simple web server to host files:
Imagine you want to transfer linpeas.sh to the target machine, so you do
2. Wget
Download a file using wget
:
3. Curl
Download with curl
:
4. Netcat
From attacker to target:
On the attacker machine:
On the target machine:
From target to attacker:
On the target machine:
On the attacker machine:
5. PHP
Download a file using PHP:
6. Base64 Transfer
Encode a file:
One of my favorites, especially I use it for dump databases to my host
Copy the output of encoding in Base64
Decode on target:
Now on your host