Hardhat-Enterprises / Deakin-Detonator-Toolkit

Deakin Detonator Toolkit redesign using Tauri, React and Mantine.
14 stars 25 forks source link

[Bug]: AI-based pen-testing tool (Gyoithon) #722

Open JacksonGIThuba opened 1 month ago

JacksonGIThuba commented 1 month ago

Name of Bug

dependencies not installing and tool not working

What Happened?

$ pip3 install -r /usr/share/ddt/GyoiThon/requirements.txt

Defaulting to user installation because normal site-packages is not writeable ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/usr/share/ddt/GyoiThon/requirements.txt'

After clicking install dependencies in DDT, the above error is generated in the output window. As a result of this as well, there is no location with the gyoithon.py script resulting in the below error as well.

$ python3 /usr/share/ddt/GyoiThon/gyoithon.py -m

Report generated successfully! python3: can't open file '/usr/share/ddt/GyoiThon/gyoithon.py': [Errno 2] No such file or directory

Process terminated with exit code: 2 and signal code: null

Steps to Reproduce

Attempt to use the Gyoithon tool

michaeljpigott commented 3 weeks ago

Assigned to @JacksonGIThuba as he is working on this issue.

slpysiren commented 1 week ago

It may be worth noting that the /usr/share/ddt path not existing is a difference between the development and release environment (cloning the repo vs the packaged releases). This is actually intended to be set up manually using the install_exploits.sh script located in install-update-media, which creates the directory and copies all the exploits. This is noted in the readme however, it is not automatically done in the setup script.