Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error, could not open file. (IMPORT command in payload) #283

Open
g0lder opened this issue Sep 26, 2024 · 1 comment
Open

Error, could not open file. (IMPORT command in payload) #283

g0lder opened this issue Sep 26, 2024 · 1 comment

Comments

@g0lder
Copy link

g0lder commented Sep 26, 2024

Whenever I use the import command inside of the payload, it says, "Error, could not open file (x)"

simply create a payload, and try to import a module. I tried putting the module I needed in different directories, and it wouldn't work :( (I was attempting to get adafruits_hid.mouse)

I expected to be able to import the file and use the module commands

(P.S. I am trying to get the mouse to move, I got the buttons to click by defining them in the duckyinpython.py file)

@Crossshield45
Copy link

Put those files in the lib folder. The code doesn't use other folders as far as I know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants