php exfil | Win --> Kali
Useful technique to exfil data from target to Kali
1] Save this php script as uploads.php in kali webroot /var/www/html
2] Create an uploads directory
3]Make sure that apache server is up and running on Kali workstation
4] Modify www-data user permissions granting writing privileges
5]Windows :Invoke the UploadFile method from the System.Net.WebClient class to exfil files
Last updated