hposton / python-for-cybersecurity

This repository holds the Python scripts discussed in the Infosec Institute's Python for Cybersecurity learning Path
GNU General Public License v3.0
308 stars 193 forks source link

Issue with Autorun Scripts #6

Closed nslybb closed 1 year ago

nslybb commented 1 year ago

Hello, I had this problem with the code you put on Git Hub "USB.py". Also, how can I "import" into python the Firefox icon? I mean, usually I'm using nano to save the codes you provide to us and then run them, but I don't know how to (and if I am suppose to) do it with images. Thanks a lot! ![Uploading USB.pyERR.png…]()

hposton commented 1 year ago

The firefox icon file just needs to be in the same directory. You can see it referenced in the call to PyInstaller, which is what uses it.

nslybb commented 1 year ago

The main problem is that it says "No such file or directory: 'pycache' and I can't fix it. I just discovered that I didn't upload correctly the screenshot. USB pyERR

nslybb commented 1 year ago

The only progress I made is that before the traceback things I have obtained the "EXE created".