This file contains 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-get update | |
sudo apt-get install nmap | |
nmap --version | |
#Scan IP range or subnet | |
sudo nmap target_IP or domain.com | |
#Port Specification and Scan Order |
This file contains 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/bash | |
sudo apt update | |
sudo apt upgrade | |
#Download Metasploit Combined Installer | |
wget https://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run | |
chmod +x metasploit-latest-linux-x64-installer.run | |
sudo ./metasploit-latest-linux-x64-installer.run |
This file contains 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/bash | |
sudo apt update | |
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" | |
sudo apt install webmin | |
#Webmin install complete. You can now login to https://your_server_ip_or_hostname:10000/ as root with your root password, or as any user who can use sudo to run commands as root. | |
#Adjust the Firewall |
This file contains 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 | |
# Install Node JS & NPM Configure | |
# 1st Enable the NodeSource repository by running the following curl as a user with sudo privileges: | |
sudo apt install curl | |
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - | |
# 2nd Once the NodeSource repository is enabled, install Node.js and npm by typing: | |
# Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm | |
sudo apt-get install -y nodejs |
This file contains 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-add-repository ppa:ansible/ansible | |
sudo apt update | |
sudo apt install ansible | |
#Setting Up the Inventory File. Be sure to replace the highlighted IPs with the IP addresses of your Ansible hosts. | |
sudo nano /etc/ansible/hosts |
This file contains 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 ntp ntpdate | |
sudo ntpdate -u 0.ubuntu.pool.ntp.org | |
sudo nano /etc/hosts | |
192.168.1.10 server.itzgeek.local server | |
This file contains 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 | |
#Installing VirtualBox | |
sudo apt install virtualbox | |
#Installing Vagrant | |
sudo apt update | |
curl -O https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.deb | |
sudo apt install ./vagrant_2.2.6_x86_64.deb |
This file contains 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 add-apt-repository ppa:oguzhaninan/stacer | |
sudo apt update | |
sudo apt -y install stacer | |
stacer |
This file contains 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 openjdk-11-jdk | |
sudo snap install android-studio --classic | |
sudo android-studio |
This file contains 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 | |
echo 'deb http://www.rabbitmq.com/debian/ testing main' | sudo tee /etc/apt/sources.list.d/rabbitmq.list | |
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add - | |
sudo apt update | |
sudo apt -y install rabbitmq-server | |
sudo systemctl status rabbitmq-server.service | |
systemctl is-enabled rabbitmq-server.service | |
sudo systemctl enable rabbitmq-server | |
sudo rabbitmq-plugins enable rabbitmq_management |