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

Dec 31 16:00:16 bunny rc.local[225]: /tmp/payload.txt: line 4: RUN: command not found

This makes me question whether the RUN extension is installed. 

I would recommend a simpler validation payload, such as 

LED SETUP

Then incrementally add to the payload, such as ATTACKMODE, QUACK, etc.

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