Transferring Files
Last updated
Last updated
Python
modules can be useful for setting up a web server that hosts the files required for transfer. These modules
Check Python
version
- python2
module
- python3
module
e.g.
Copy a file into the current directory and setup the web server to download the file into the target system
Files can be downloaded from a browser or using a GET
request
Set up a web server to host the payload.exe
file
After gaining access to the Windows target system and spawned a command shell session, download the payload file on the target system using the certutil
tool in cmd
.
After exploiting the Linux target, transfer the php-backdoor.php
file to the target.
2 terminal sessions are necessary - use tmux
utility to get more sessions.
- is a program, terminal multiplexer, which runs in a terminal and allows multiple other terminal programs to be run inside it