Closed haqqibrahim closed 1 year ago
@haqqibrahim The error "No module named 'mysql'" suggests that the 'mysql' module is not installed in the Python environment where Dirsearch is being executed. You'll need to install the required module using pip. Open your terminal and execute the following command:
(
#pip install mysq
l)
If you're using Python 3, use pip3 instead of pip.
If the issue persists or if the module name is slightly different, please make sure you have the correct module name and version specified in your script
pip install mysql will not work.
Solution: pip install mysql-connector
I am writing a bash script with Nmap and Dirsearch, Nmap runs but Dirsearch returns an error saying No module named 'mysql
This is script: !/bin/bash nmap $1 dirsearch.py -u $1 -e php
This is the output: