Skip to content

string from file function for bad usb #4231

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

p4p1
Copy link
Contributor

@p4p1 p4p1 commented May 14, 2025

What's new

A badusb function to take the content of a file and print it.

image

  1. notepad to test badusb script
  2. the badusb script
  3. content of /ext/abc.txt

Verification

Here is a sample script to test the function:

STRING_FROM_FILE /ext/abc.txt

make sure to place a file named abc.txt at the root of an sdcard with text inside of it.

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

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

Successfully merging this pull request may close these issues.

1 participant