#HID Pico problem

1 messages · Page 1 of 1 (latest)

upper meteor
#

starting a thread

tardy saddle
#

id really appreciate your help

upper meteor
#

ok, so this is ducky. did you try some simple script? Are the characters being sent at all. the .vbs stuff is probably disabled

tardy saddle
#

lil embarrsing :))))... alr let me look up the .vbs much thanks

tardy saddle
#

ok so im not sure if your familar with the github page called "dbisu" but i installed a python file called "duckytopython.py" and its supposed to work with ducky scripts the problem is that the pico is showing up as a storage device insted as a hid device

upper meteor
tardy saddle
#

ive tried and tried please help me out if you have the time

upper meteor
#

what problems are you still having?

tardy saddle
#

it wont execut "payload.dd"

#

i deleted it yesterday to in order to see if it had any problems with the code but it wont run

#

either way

upper meteor
tardy saddle
#

okaii lemme open up thonny (plain pico)

#

thank you for taking the time btw

upper meteor
tardy saddle
#

i just installed it a minute beacuse it wasent recognized by thonny

upper meteor
#

you can put Thonny in CircuitPython mode

#

Or use Mu, or just use a terminal program like Tera Term.

tardy saddle
#

this shows up when i install circut py

upper meteor
#

Look in Device Manager->Ports and see whether a serial port appears when you plug in the board. It may not be COM5; it may be a different port

tardy saddle
#

yes it is "COM4"

upper meteor
#

can you switch Thonny to COM4?

tardy saddle
upper meteor
#

ok, so now start the program by typing ctrl-D

tardy saddle
upper meteor
#

you have to put back all your program files. "Hello World!" is what is in an empty CIRCUITPY

#

you can just copy/paste the text; it's easier to read than screen shots

tardy saddle
#

sorry.. what program files?

upper meteor
#

code.py, boot.py, payload.dd, etc. All the ones in your first screenshot from today

#

you don't need to copy files with Thonny, you can just drag and drop to CIRCUITPY

tardy saddle
#

okaii.. it says "soft reboot"

#

"code done running"

upper meteor
#

since you copied boot.py, you need to do a hard reset to get boot.py to run (it only runs on hard reset or power cycle). Unplug and replug the board

tardy saddle
#

just did i got this "code.py output:
Traceback (most recent call last):
File "code.py", line 14, in <module>
File "duckyinpython.py", line 9, in <module>
File "adafruit_debouncer.py", line 32, in <module>
ImportError: no module named 'adafruit_ticks.ticks_ms'

Code done running.

Adafruit CircuitPython 8.2.9 on 2023-12-06; Raspberry Pi Pico with rp2040

"

upper meteor
#

ok, you need to add the adafruit_ticks library. It was in the screenshot above. I guess you just forgot to copy it over

tardy saddle
#

okaii done..now it just tells me to soft reboot

upper meteor
#

ok, do a power cycle again

#

did you put in the payload.dd file?

tardy saddle
#

(Done)yes just did..

upper meteor
#

so it should just run now

tardy saddle
#

i pressed "ctrl +d " it gave me this again "code.py output:
]0;🐍code.py | 8.2.9\Traceback (most recent call last):
File "code.py", line 14, in <module>
File "duckyinpython.py", line 9, in <module>
File "adafruit_debouncer.py", line 32, in <module>
ImportError: no module named 'adafruit_ticks.ticks_ms'

upper meteor
#

do you have adafruit_ticks.mpy in CIRCUITPY\lib?

tardy saddle
#

yes sir

#

maybe its "payload.dd"

upper meteor
#

adafruit_ticks is in its own folder. It should not be. is adafruit_ticks.mpy inside adafruit_ticks? Take it out and put it immediately under lib, and remove the now empty adafruit_ticks folder

tardy saddle
#

projects.toml and requiremnts.txt are in ticks folder

#

place adafruit_ticks folder under lib?

upper meteor
#

you don't need those. There should not be an adafruit_ticks folder. There should just be an adafruit_ticks.mpy file, immediately under lib

tardy saddle
#

okaii so. it work for 25%.. it only open up "WINDOWS + R" and writes "notepad" short after it open up "file exploerer" and ten restarts my computer"h

#

it keeps reseting my computer

upper meteor
#

well, maybe the payload is set up to do that. Is it doing ctrl-alt-del or alt-f4 or something?

#

could you upload the payload.dd here? Use the + to the left

#

or is it the same one as previously with the rick roll

tardy saddle
#

it sometimes run two scripts at the same time and sometimes just make a gray see trough screen and its just crashes

#

it wont let me send it trough copy and paste

#

let me try one more time

#

the matrix wake up

upper meteor
#

The "ALT F4" at the end is going to start a shutdown sequence, though usually it prompts you with a dialog box. Just click on the desktop and then do alt-F4, and I think you will see what I mean

tardy saddle
#

almost had a heart attack :))))

upper meteor
#

yes, I am not going to help with malicious hacking scripts

tardy saddle
#

nooo i ran it to test it out i didint know what it was but now its not working at all

#

any scripts