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

Wino willy BeEF Injection #441

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

wino-willy
Copy link
Contributor

Hello,
please read the previous commit.
Thank you.

Hello,
Long time listener, first time caller. I came up with this payload when I was trying to figure out a quick way to hook a browser using the BeEF framework. The premise is pretty simple, it opens a bunch of Chrome tabs and the idea being that one of them is the attackers hosted ip/domain. I chose to write in DS 1.0 so it is as backwards compatible as possible. Anyways I read the submission guidelines carefully so let me know if I'm off in any way.

Any and all help is much appreciated.
Sincerely,

\/\/1/\/0 
\/\/1|_|_Y
Missed a few grammatical errors

DELAY 1000
GUI ENTER
DELAY 500
Copy link
Member

Choose a reason for hiding this comment

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

If you have a majority delay you can use something like DEFAULT_DELAY to have a set delay for each action, for example having DEFAULT_DELAY 500 would add a DELAY 500 to every action unless otherwise stated in script.


REM Enter your domain/ip site below.
DELAY 1000
STRINGLN <link to your site>
Copy link
Member

Choose a reason for hiding this comment

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

use a DEFINE at the top of the payload to make it easier for a user to configure the payload.

for example you can do
DEFINE #URL example.com
at the top of the payload and then do
STRINGLN #URL

Even though define was introduced in DuckyScript 3 and Payload Studio marks it as such, it is DuckyScript 1 compatible.

DELAY 1000
STRINGLN www.youtube.com
DELAY 1500
CTRL t
Copy link
Member

Choose a reason for hiding this comment

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

I see these 3 lines are repeated a lot: Consider using a FUNCTION

https://docs.hak5.org/hak5-usb-rubber-ducky/operators-conditions-loops-and-functions/functions

@hak5peaks hak5peaks added pending requested changes requires changes before merge awaiting response waiting for response labels May 22, 2024
@hak5peaks hak5peaks merged commit 4650098 into hak5:master Jun 5, 2024
@dallaswinger dallaswinger removed pending requested changes requires changes before merge awaiting response waiting for response labels Jun 6, 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

Successfully merging this pull request may close these issues.

None yet

3 participants