Skip to content

Conversation

@Ninegd4
Copy link

@Ninegd4 Ninegd4 commented Sep 1, 2025

It opens Google, subscribes to the channel you link, and writes a thank you on a Google doc. All you have to change is the part that says <your-youtubeaccount-link.com> with your YouTube account link
My payload works for chromebooks, (Chromebook tested)

-It auto subscribes to the YouTube account linked
-Others can use it by installing it, changing the name to inject.bin, and dragging that file in to the USB rubber ducky SD card.
-The only configuration needed is for whoever is using it to change the part that says example.com to the actual YouTube account link.
-Have fun with it
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have the same payload file inside of both execution and prank directorys. Please choose 1 category for your payload and remove the other one.

DELAY 1000
GUI r
DELAY 500
STRING chrome
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For instances where you are using STRING and then immediately ENTER you can simple use STRINGLN this will keep the same functionality while compressing the action to 1 line improving readability.

STRINGLN Chrome will inject the same as

STRING Chrome
ENTER

REM Open YouTube channel link
CTRL t
DELAY 500
STRING <your-youtubeaccount-link.com>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For any user configurable option, use a DEFINE at the top of your payload. For example:

DEFINE #LINK example.com

STRINGLN #LINK

In this example, anywhere #LINK is located in the payload, it will fill in example.com using a DEFINE improves readability and makes it easier for the end user to change user configurations.

DELAY 5000 REM 5 seconds to load the YouTube channel

REM Use TAB to navigate to the Subscribe button (14 TAB presses)
TAB
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would consider using a loop for this. You can compress this down to be more readable.

VAR $RUN = 14
WHILE ( $RUN > 0 )
        DELAY 50
        TAB
    $RUN = ( $FOO - 1 )
END_WHILE

DELAY 500

REM Open Google Docs
STRING https://docs.google.com/document/create
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned above, for instances where you are using STRING and then immediately ENTER you can use STRINGLN

@hak5peaks hak5peaks added the pending requested changes requires changes before merge label Sep 2, 2025
@Ninegd4
Copy link
Author

Ninegd4 commented Sep 2, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending requested changes requires changes before merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants