how to install bwapp in kali

Опубликовано: 11 Сентябрь 2021
на канале: PseudoTime
25,904
154

How to install bWAPP in Kali

1. Visit url - http://www.itsecgames.com/ and click on Downloads (here)

2. You will be re-directed to new url - https://sourceforge.net/projects/bwap...

3. Download the file

4. Open command prompt and use below commands

a) We have our downloaded zip file - cd Downloads

b) To check files - ls

c) unzip file - sudo unzip -d /var/www/html bWAPP_latest.zip

d) To check our apache web folder we go to the directory - cd /var/www/html

e) To check files - ls

f) To change bWAPP folder permision - sudo chmod -R 777 bWAPP

g) To start apache service - sudo service apache2 start

h) To start my sql service - sudo service mysql start

i) Login to mysql - sudo mysql

j) configure the settings for mySQL - cd bWAPP/admin

k) change the settings.php file (Follow steps as shown in the video)

Let's change database connection settings.

Here we have changed the username to "bugg" and password to "" save and close.

// Database connection settings
$db_server = "localhost";
$db_username = "bugg";
$db_password = "";
$db_name = "bWAPP";


l) Now let's login to mysql using following command: - sudo mysql

m) Now to setup a database, lets create a new user use below command to create new user
CREATE USER 'bugg'@localhost IDENTIFIED BY '';

n) Now grant new user all privileges over the database
grant all privileges on bWAPP.* to 'bugg'@'localhost' identified by '';

o) Open browser and navigate to localhost/bWAPP/install.php

If the configuration is perfect then it should successfully install.

PseudoTime