Jump to content

Phantom ENTER being injected into ducky scripts when used in nethunter


TeCHemically
 Share

Recommended Posts

I am unable to use scripts that open CMD as admin because phantom ENTER lines are bring executed after my "STRING cmd" lines in my ducky scripts. This is also happening other places. I have a workaround to get an admin prompt; but it is of no use because these ENTER keystrokes are bring entered in places where they should not be; and since they aren't actually in the script I cannot remove them. It may be that the end of line EOL character (LF in this case) is being interpreted as an ENTER keystroke. Is there anyway to convert all EOL characters in a file from LF or CRLF to some kind of NULL character so the Duckhunter HID conversion tool won't add in these ENTER keystrokes? Thanks to all who reply. This has been driving me nuts!

Link to comment
Share on other sites

So, the ducknunter on nethunter uses 2 different elements to inject strings. One being STRING, like normal, and the other being TEXT. When you use STRING, the LF at the end of your line is interpreted as an ENTER keystroke. If you just want to enter a string then you need to use the TEXT element instead. I can see how this could make your scripts more efficient; but unless you know about this it just drives you crazy. Hope this helps someone!

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.

Guest
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.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...