🐧Linux

Transferring files to/from remote Linux systems

  • curl

  • ssh (ssh only)

    • From attack_machine to remote server:

      • scp <path to file wanted to transfer> user@ip:/<directory on the system>

    • From remote server to attack_machine

      • scp user@ip:/path/to/file .

  • Base64

    1. base64 (file)

    2. echo "base64 contents" | base64 -d > output_file

  • Python Web Server

    1. python3 -m http.server

    2. ifconfig and grab the right ip

    3. run the wget/curl commands on the other system

  • Fileless Attacks

Last updated