Jump to content

Three keystrokes injected at once


svv4gl0rd

Recommended Posts

Hi,

I need Bash Bunny to inject all combinations of three letters clicked at once. Could someone point me why this payload is not working?

LED SETUP
ATTACKMODE HID
LED ATTACK
i=0
j=1
k=2
while [ $i  -lt 30 ]
do
    x=$(printf "%02X\n"  $i)
    while [ $j  -lt 30 ]
    do
        y=$(printf "%02X\n"  $j)
        while [ $k  -lt 30 ]
        do
            z=$(printf "%02X\n"  $k)
            QUACK KEYCODE 00,00,$x 00,00,$y 00,00,$z
            k=$(expr $k + 1)
        done
        j=$(expr $j + 1)
    done
    i=$(expr $i + 1)
done

Thanks in advance.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...