Comments (12)
Potentially a call to storage.disable_usb_drive() could be added to boot.py. I might make that a second switch, in case someone wants to use the storage during a script for payload distribution or data dumping.
from pico-ducky.
Just realized that call is only available in the latest CircuitPython, not CircuitPython 6.3. I would need to test this project against CircuitPython 7.x before being able to turn off the host PC storage.
from pico-ducky.
I tried running the code with CircuitPython 7.x but for some reason it goes into read only mode and doesn't work.
from pico-ducky.
Ok I Nuked It And Installed Hid Libraries For CircuitPython 7.x.Seems To Be Working Fine For Now.
from pico-ducky.
OK. I'll look at updating the project once 7.x is officially released. In the meantime, if you want to try with a switch, you can create a boot.py like this.
from board import *
import digitalio
import storage
noStorageStatus = False
noStoragePin = digitalio.DigitalInOut(GP15)
noStoragePin.switch_to_input(pull=digitalio.Pull.UP)
noStorageStatus = not noStoragePin.value
if(noStorageStatus == True):
# don't show USB drive to host PC
storage.disable_usb_drive()
print("Disabling USB drive")
else:
# normal boot
print("USB drive enabled")
```
from pico-ducky.
I Dont Have Any Jumper Wires Right Now.I Will Give Feedback When They Arrive.(In 2-3 Days Hopefully)
from pico-ducky.
this is not working for me can any one help, i fallowed all the steps but it is not working
from pico-ducky.
It Just Tested It Works Perfectly Fine For Me.Nuke Your Pico First To Reset It,Download CircuitPhyton 7.x,Download Adafruit HID Libraries For 7.x And Then Make Sure You Connect The Correct Pins. https://i.imgur.com/f28d2u4.jpg
from pico-ducky.
@dbisu CircuitPython 7.0.0 Is Officially Released.
from pico-ducky.
I'll get a card added to update the project to version to 7.0.0. Sounds like it will be mostly validation testing.
from pico-ducky.
Any updates gentelmen ? The project seems to be updated
from pico-ducky.
I might have some time this weekend to look at this again.
from pico-ducky.
Related Issues (20)
- Pico W doesn't work at all HOT 2
- Not running payload
- Variables and Loops Not Working HOT 2
- why does it only supports rubber ducky 1.0 only not 3.0 HOT 1
- i tried all your steps but it doest works on my pico w HOT 3
- how can i reduce the speed of how fast each character is typed? HOT 5
- I have a important question HOT 4
- Pico payload is not running HOT 5
- Question: After Payload run a Batch file HOT 3
- Other keyboards dosen't work for me HOT 3
- ducky script Not Run HOT 1
- How disable usb_Hid after Payload ? HOT 1
- Can i follow the steps for the regular pico even tho i use pico w? HOT 5
- Unable to enter setup mode HOT 2
- Pico W Ducky - Backslashes converted to # using Neradoc UK Keyboard Layout
- Payload not running HOT 4
- Question about implementing a keylogger HOT 1
- HI a problem in your duckyinpython.py file HOT 2
- Problem with payloads not running
- No payload running, still showing up as a usb. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pico-ducky.