Jump to content

Payloads not running


hacknbone

Recommended Posts

I have recently update the firmware to 1.6 but I am unable to get any payloads to run. 

Payload.txt

DEBUG "switch-1-debug" "Hello from debug extension!"
LED SETUP
ATTACKMODE HID SERIAL
RUN WIN notepad.exe
Q STRING Hello World
LED FINISH
DEBUG "switch-1-debug" "Bye from debug extension!"

after running the payload on switch 1, I get the following message in syslog

Dec 31 16:00:16 bunny rc.local[225]: /tmp/payload.txt: line 4: RUN: command not found
Dec 31 16:00:16 bunny kernel: [   12.487660] WRN:L2055(drivers/usb/sunxi_usb/udc/sunxi_udc.c):ERR: sunxi_udc_queue: inval 2
Dec 31 16:00:16 bunny kernel: [   12.496899] g_ether gadget: usb_ep_queue error on int endpoint 4294967274
Dec 31 16:00:16 bunny rc.local[225]: Traceback (most recent call last):
Dec 31 16:00:16 bunny rc.local[225]: File "/root/tools/ducky.py", line 196, in <module>
Dec 31 16:00:16 bunny rc.local[225]: run_script(input_line, language)
Dec 31 16:00:16 bunny rc.local[225]: File "/root/tools/ducky.py", line 154, in run_script
Dec 31 16:00:16 bunny rc.local[225]: context = run_ducky_line(context, line, lang_file)
Dec 31 16:00:16 bunny rc.local[225]: File "/root/tools/ducky.py", line 79, in run_ducky_line
Dec 31 16:00:16 bunny rc.local[225]: hidg_write(elements)
Dec 31 16:00:16 bunny rc.local[225]: File "/root/tools/ducky.py", line 25, in hidg_write
Dec 31 16:00:16 bunny rc.local[225]: hidg.close()
Dec 31 16:00:16 bunny rc.local[225]: IOError: [Errno 22] Invalid argument
Dec 31 16:00:16 bunny rc.local[225]: blink_led.sh: no process found
Dec 31 16:00:16 bunny rc.local[225]: /tmp/payload.txt: line 7: DEBUG: command not found
Dec 31 16:00:16 bunny rc.local[225]: /root/bash_bunny.sh: line 71:   230 Terminated              /root/tools/blink_led.sh green 1000

Any help would be great.

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