This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo wget https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip | |
| sudo unzip ruby-2.5.3.zip | |
| cd ruby-2.5.3/ | |
| sudo ./configure | |
| sudo make | |
| sudo make install | |
| ruby --version | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| sudo apt update | |
| sudo apt install -y php php-cli php-mysql php-common php-zip php-mbstring php-xmlrpc php-curl php-soap php-gd php-xml php-intl php-ldap | |
| sudo apt install -y apache2 libapache2-mod-php | |
| sudo vim /etc/php/7.2/apache2/php.ini | |
| #file_uploads = On |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install Apache | |
| sudo apt update | |
| sudo apt upgrade | |
| sudo apt install apache2 | |
| apache2 -v | |
| sudo service apache2 start | |
| sudo systemctl enable apache2 | |
| sudo service apache2 stop | |
| sudo service apache2 start | |
| sudo service apache2 restart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Update & Install Nginx | |
| sudo apt update && apt upgrade | |
| sudo apt-get install nginx | |
| sudo systemctl start nginx | |
| sudo systemctl enable nginx | |
| sudo systemctl restart nginx | |
| sudo systemctl status nginx | |
| # Install MySQL & check |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Update system | |
| sudo apt update && sudo apt upgrade | |
| sudo add-apt-repository ppa:wireshark-dev/stable | |
| sudo apt update | |
| sudo apt -y install wireshark | |
| wireshark --version | |
| # Configure and start Wireshark | |
| sudo usermod -a -G wireshark $USER |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # add the ppa repository, update system | |
| sudo add-apt-repository ppa:mrazavi/openvas | |
| sudo apt-get update | |
| #install the required packages | |
| sudo apt install sqlite3 | |
| sudo apt install openvas9 | |
| sudo apt install texlive-latex-extra --no-install-recommends | |
| sudo apt install texlive-fonts-recommended | |
| sudo apt install libopenvas9-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install Apache | |
| sudo apt update && sudo apt upgrade | |
| sudo apt install apache2 | |
| sudo systemctl enable apache2 | |
| sudo service apache2 stop | |
| sudo service apache2 start | |
| sudo service apache2 restart | |
| firefox http://localhost/ | |
| # IInstall MariaDB Database Server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install metasploit | |
| curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall | |
| chmod 755 msfinstall | |
| ./msfinstall | |
| # Create msf database. | |
| msfdb init | |
| # Launch msfconsole |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # System update | |
| sudo apt update && sudo apt upgrade | |
| sudo apt install software-properties-common apt-transport-https wget | |
| wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add - | |
| sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib" | |
| # Install webmin | |
| sudo apt install webmin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # System update | |
| sudo apt update | |
| # Install mongoDB | |
| sudo apt install mongodb | |
| sudo systemctl status mongodb | |
| sudo systemctl stop mongodb | |
| sudo systemctl start mongodb | |
| sudo systemctl restart mongodb | |
| sudo systemctl disable mongodb |