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

Create Chromebook-Auto-Subscribe #507

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions payloads/library/prank/Chromebook-Auto-Subscribe
Copy link
Member

Choose a reason for hiding this comment

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

Please include a directory for your payload. The directory name should be your payload name.

Considering this payloads actions, it would also be more fitting inside of the execution category.

Here is an example of how it should be placed.

/payloads/library/execution/Chromebook-Auto-Sucribe/payload.txt

Copy link
Author

Choose a reason for hiding this comment

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

Would I go back into my copy of it and do that whole process again? I'm confused on how to do the changes here on this specific one you wrote

Copy link
Author

Choose a reason for hiding this comment

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

I have it up to here: /payloads/library/execution/Chromebook-Auto-Subscribe and when you click on the Chromebook-Auto-Subscribe file under execution, it opens up the script, I have absolutely no clue on how to make it a payload.txt file under Chromebook-Auto-Subscribe

Copy link
Author

Choose a reason for hiding this comment

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

Wait, Nevermind. I Just reuploaded it again, I accidentally just reposted the code updated but Im re commiting this one with payload.txt in it as well as ReadMe.txt. Im sorry for the confusion

Copy link
Author

Choose a reason for hiding this comment

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

Nevermind again, would you mind giving me a tutorial? I have a file in my files named Chromebook-Auto-Subscribe with the paylaod.txt and ReadMe.txt in it but I have no idea how to upload this.

Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
REM ####################################
REM # |
REM # Title : Thank's for the sub! |
REM # Author : Alex P |
REM # Version : 1.4 |
REM # Category : Prank |
REM # Target : Chromebook |
REM # |
REM ####################################

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.

You can use STRINGLN instead of STRING ENTER it has the same functionality and makes the code cleaner and easier to read

I would go and do this where it applies, it will shorten up the payload a lot.

Copy link
Author

Choose a reason for hiding this comment

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

Would I type: (STRINGLN chrome) ?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, Instead of doing

STRING chrome
ENTER

You can simply do
STRINGLN chrome
This will achieve the same functionality

ENTER
DELAY 2000

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.

Consider using a DEFINE for any configurable options. This allows you to put anything the user needs to change or access at the top of your payload and use it later on.

For example:

DEFINE #YTLINK  example.com

STRINGLN #YTLINK

This will result in the ducky typing "example.com" where you place STRINGLN #YTLINK

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

For instances where you are repeating a certain action continuously you can use REPEAT .

REPEAT 14 TAB

This cleans up the payload and make it more readable. while keeping the same functionality.

DELAY 50
TAB
DELAY 50
TAB
DELAY 50
TAB
DELAY 50
TAB
DELAY 50
TAB
DELAY 50
TAB
DELAY 50
TAB
DELAY 50
TAB
DELAY 50
TAB
DELAY 50
TAB
DELAY 50
TAB
DELAY 50
TAB
DELAY 50
TAB
DELAY 50

REM Press Enter to Subscribe (ensure it's 100% on the Subscribe button)
ENTER
DELAY 1000

REM Go back to Google
ALT LEFT
DELAY 2000

REM Clear the search bar
CTRL k
DELAY 500
BACKSPACE
DELAY 500

REM Open Google Docs
STRING https://docs.google.com/document/create
ENTER
DELAY 3000 REM Wait for Google Docs to load

REM Type full message in Google Docs
STRING Thanks for the sub!
ENTER