I bought myself a Rubber Ducky a Week ago and I really love creating Payloads 🙂
However im having a bit trouble with a specific payload, im using the following code to download a picture from the internet:
$WebClient = New-Object System.Net.WebClient
As File Upload-Service im using Workupload and so far I tried it with downloading a picture. Everything works perfectly fine, powershell downloads the picture and closes itself.
But for some reasons I just cant open the picture, and I cant really find out why...
Do I need to put in Delays until the Download is finished? Is Windows-Defender blocking something? Is my Code outdated?
Later on I wanna try it with a .exe file and execute it, but thats seems far too complicated as for now.
Would appreciate any help, have a good one! 🙂