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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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