Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with STRING #1

Closed
Banana-Phoney opened this issue Mar 14, 2024 · 10 comments
Closed

Issue with STRING #1

Banana-Phoney opened this issue Mar 14, 2024 · 10 comments
Assignees

Comments

@Banana-Phoney
Copy link

Hello

First off all thank you! This is the thing I wanted the most in the Cardputer!
I do have some issues though. In the example below the last string is not written. I have tested a few variants with different text and writing into different programs.

I don't know much about programming the Cardputer, but tell me if i can help out with something.

DELAY 3000
GUI r
DELAY 1000
STRING powershell
DELAY 500
ENTER
DELAY 3000
STRING hello

BR!

@VoidNoi VoidNoi self-assigned this Mar 15, 2024
@VoidNoi
Copy link
Owner

VoidNoi commented Mar 15, 2024

I've tried the payload in both linux and windows and it's working as it should for me. Just to be clear, the last string would be "hello" right?

@Banana-Phoney
Copy link
Author

Thank you for answering!

So I tested some more. The script ended at "STRING hello" (without a new line below) for me, but it worked a bit better if i added a new line below. It didn't get to more than he of hello, but It worked best if i added a delay after the string like in the example below.
I have tested on multiple computers. All Windows machines and none especially fast or good.

The example:
DELAY 3000
GUI r
DELAY 1000
STRING powershell
DELAY 500
ENTER
DELAY 3000
STRING hello
DELAY 500

BR

@VoidNoi
Copy link
Owner

VoidNoi commented Mar 15, 2024

Could you try executing this with a notepad open and show me a picture of the result? Also please put your payload in a code block to make it look better and delimit what is part of it

DELAY 1000
STRING Hello this is a test
ENTER
STRING Test 1 
STRING Test 2

@Banana-Phoney
Copy link
Author

I tested that script, but now I was able to use a USB rubber ducky aswell and i ran into the same with that one.
when i click a random key parts of the last string gets completed. I can press "w" 6 times to get it to fill out Test 2. pressing print

image

Do you not run into this? I have tried it on 5 different machines and with both a Cardputer and a USM rubber ducky

@VoidNoi
Copy link
Owner

VoidNoi commented Mar 15, 2024

I have tested this on Arch linux, nixOS, and Windows 10 on my main machine, Archcraft on another laptop and Fossapup on another one and I can't reproduce your problem. Only thing that comes to mind is that it might be a problem with windows 11. Do all of the machines you have tested this on use Windows 11?

@Banana-Phoney
Copy link
Author

I thought i had tested on Windows 10, but i must not have. Tested a few machines now but also tested on Windows 10 and Pop os and it worked perfectly on them while i run into the issue on Windows 11.
In other words, the issue has nothing to do with your firmware here!
Thank you for helping me out! Also could be an idea to tell people add a delay at the end if they have a issue with windows 11. DELAY 500 worked for me there!

@VoidNoi
Copy link
Owner

VoidNoi commented Mar 15, 2024

That's great to hear, I hope microsoft fixes all the problems they have with drivers on Windows 11 soon. I'll be adding that suggestion to the readme, thanks for your feedback! Closing this issue now.

@VoidNoi VoidNoi closed this as completed Mar 15, 2024
@Velocity-50
Copy link

Hi, so whenever I am typing in a string and put a delay after it and than enter, it wont do it. I am using a cardputer.
Here is my code:
DELAY 500
WINDOWS r
DELAY 500
STRING powershell
DELAY 500
ENTER
DELAY 500
STRING xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
DELAY 1000
ENTER

@Velocity-50
Copy link

Hi, I have an idea for adding a command: STRING+ENTER. I have seen this command in other DuckyScript payloads and its very handy!

@VoidNoi
Copy link
Owner

VoidNoi commented Mar 22, 2024

@Velocity-50 Please create a new issue and put your code in a code block as I said in another comment

Also please put your payload in a code block to make it look better and delimit what is part of it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants