Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to install DVWA in termux
- #Install required packages for DVWA in termux
- pkg install php -y
- pkg install git -y
- pkg install mariadb -y
- #Git clone DVWA
- git clone https://github.com/ethicalhack3r/DVWA
- #copy config file
- cd dvwa/config
- cp config.inc.php.dist config.inc.php
- cd ..
- #Start Mysql with root user
- mysqld_safe -u root &
- mysql -h localhost
- #Create database
- create database dvwa;
- create user dvwa@localhost identified by 'p@ssw0rd';
- grant all on dvwa.* to dvwa@localhost;
- flush privileges;
- #Start server
- php -S 127.0.0.1:4444
- #ACCESS DVWA
- php -S 127.0.0.1:4444
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement