installing a local database for the test
To install MySQL and the client side, you need to perform a couple of simple actions. To do this, install a convenient XAMPP manager.
Now we need phpmyadmin. To install it, first of all you need to install php dependencies, and then the admin panel itself, for this we will prescribe:
We also need to create a configuration for apache, for this we will write sudo nano /etc/apache2/conf-enabled/phpmyadmin.conf and download the file from the link and paste its contents into the config - https://disk .yandex.ru/d/KxGjbqwBmfPcEg
Stop by along the way http://127.0.0.1/phpmyadmin / and now you are already in the admin panel!
Go to the Databases tab and select the type, enter a name and we create a database, it will be displayed in the panel. I will use ready-made databases:
So, when we have all the services running. It's time to run a test scan through Scuba Vuln Finder. To run it, unzip the folder and register:
You may also have a problem with MySQL drivers. We need to install the ODBC driver on our system. Download the stable version - https://jar-download.com/artifacts/mysql/mysql-connector-java/5.1.35/source-code . After that, we transfer it to /usr/share/java and then start the scanner again. Next, we enter the data that we specified, namely localhost:3307, root password:root and the database itself, it is with the test name mysql and we will start the scanner.
We also need to install the jre, and after updating the system, first download the archive from here - https://www.oracle.com/java/technologies/downloads/#java8
Best Preventing your next data breach starts with taking care of your data security hygiene. Imperva Scuba empowers your team with the security information it needs to reduce risk and prioritize actions, Download this scanner:
To install MySQL and the client side, you need to perform a couple of simple actions. To do this, install a convenient XAMPP manager.
The tool is located on the path /opt/lampp/ and runs quite simply, for this you need to start the service, and then you can run the GUI client.wget https://downloadsapachefriends.global.ssl.fastly.net/8.1.6/xampp-linux-x64-8.1.6-0-installer.run && chmod u+x xampp-linux-x64-8.1.6-0-installer.run && ./xampp-linux-x64-8.1.6-0-installer.run
Click to expand...
In the GUI client itself, go to the Manage Servers tab and see MySQL Database there, we need to run it, to do this, click start. ( If your database does not start, then change the port, because it may be clogged ), look at the clogged netstat -an | findstr "3306". To change, click Configuresudo /opt/lampp/xampp start && sudo /opt/lampp/manager-linux-x64.run
Click to expand...
Now we need phpmyadmin. To install it, first of all you need to install php dependencies, and then the admin panel itself, for this we will prescribe:
Next, we need to create a folder for temporary phpmyadmin files and set access rights to it, so that there will be no problems in the future. And you also need to create a directory in /etc/ and copy the configuration, for this we will prescribe:sudo apt -y install php php-cgi php-mysqli php-pear php-mbstring libapache2-mod-php php-common php-phpseclib php-mysql
wget https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-languages.zip && cd ~/phpmyadmin && sudo mv phpMyAdmin-*/ /usr/share/phpmyadmin
Click to expand...
Now we need to edit the config config.inc.php and add a secret phrase there, as well as specify the temp directory, enter the sudo nano command for editing /usr/share/phpmyadmin/config.inc.phpsudo mkdir -p /var/lib/phpmyadmin/tmp && sudo chown -R www-data:www-data /var/lib/phpmyadmin && sudo mkdir /etc/phpmyadmin/ && sudo cp /usr/share/phpmyadmin/config.sample.inc.php /usr/share/phpmyadmin/config.inc.php
Click to expand...
We also need to create a configuration for apache, for this we will write sudo nano /etc/apache2/conf-enabled/phpmyadmin.conf and download the file from the link and paste its contents into the config - https://disk .yandex.ru/d/KxGjbqwBmfPcEg
Stop by along the way http://127.0.0.1/phpmyadmin / and now you are already in the admin panel!
Go to the Databases tab and select the type, enter a name and we create a database, it will be displayed in the panel. I will use ready-made databases:
So, when we have all the services running. It's time to run a test scan through Scuba Vuln Finder. To run it, unzip the folder and register:
cd ~/Scuba-Linux-x64 && chmod +x Scuba.sh && sudo ./Scuba.sh
Click to expand...
You may also have a problem with MySQL drivers. We need to install the ODBC driver on our system. Download the stable version - https://jar-download.com/artifacts/mysql/mysql-connector-java/5.1.35/source-code . After that, we transfer it to /usr/share/java and then start the scanner again. Next, we enter the data that we specified, namely localhost:3307, root password:root and the database itself, it is with the test name mysql and we will start the scanner.
We also need to install the jre, and after updating the system, first download the archive from here - https://www.oracle.com/java/technologies/downloads/#java8
sudo apt install default-jre && sudo mkdir /usr/local/java && sudo mv jre-8u291-linux-x64.tar.gz /usr/local/java && cd /usr/local/java && sudo tar -zxvf jre-8u291-linux-x64.tar.gz && sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jre1.8.0_291/bin/java" 1
Click to expand...
Best Preventing your next data breach starts with taking care of your data security hygiene. Imperva Scuba empowers your team with the security information it needs to reduce risk and prioritize actions, Download this scanner:
View hidden content is available for registered users!