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 'https://scriptxone.blogspot.com/ written by Henrique Silva' | |
#OFFITIAL SCRIPT FROM VirtualBOX -- edited by myself - install Signature keys from offitial VirtualBox.org page | |
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - | |
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add - | |
# update n intall | |
apt-get update && apt-get install virtualbox -y || printf "CHECK CODE FOR DEBUGING! eg. keys may be outdate. last verification 26/11/2020 / 21-01-2021:::" | |
## packges solutions | |
apt autoremove -y ; apt --fix-broken install |
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 'https://scriptxone.blogspot.com/ written by Henrique Silva' | |
apt install apt-transport-https | |
sh -c 'echo "deb [arch=i386] https://deb.torproject.org/torproject.org $(lsb_release -sc) main" >> /etc/apt/sources.list.d/tor-project.list' | |
# ^^^ you can change the [arch=NAME OF CPU archtecture] | |
# which you can get with: lsb_release -a | |
# | |
apt install tor torbrowser-launcher -y | |
systemctl status tor | |
#apt install nmap hashcat nl proxychains -y |
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 | |
#https://www.teamviewer.com/en-us/download/linux/ | |
wget https://download.teamviewer.com/download/linux/teamviewer_i386.deb | |
dpkg -i teamviewer_i386.deb | |
rm -v teamviewer_i386.deb | |
# | |
apt --fix-broken install ; apt autoremove -y |
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 | |
# | |
## Prepare your System if you feell like, other wise you can skip | |
#sudo apt-get update | |
#sudo apt-get dist-upgrade | |
#Reboot after running the above commands. | |
#sudo apt-get install build-essential | |
# | |
echo '# Getting start Dependencies' | |
apt-get install -y libpcap-dev libpcre3-dev libdumbnet-dev |
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 | |
user_config () { | |
echo '<STARTING CONFIGURATION>' | |
echo 'add groupadd snort' | |
groupadd snort | |
useradd snort -r -s /sbin/nologin -c SNORT_IDS -g snort | |
mkdir -p /etc/snort/rules/iplists | |
mkdir /etc/snort/preproc_rules | |
mkdir /usr/local/lib/snort_dynamicrules |
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 | |
ifconfig -s | |
read -p 'SET Interface.: ' int_f | |
#Config | |
mkdir /etc/snort/rules/iplists | |
mkdir /etc/snort/preproc_rules | |
mkdir /usr/local/lib/snort_dynamicrules | |
mkdir /etc/snort/so_rules | |
mkdir /var/log/snort | |
mkdir /var/log/snort/archived_logs |
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 | |
#Shell Varibles' | |
RED='\033[0;31m' | |
BIGreen='\033[1;92m' | |
NC='\033[0m' | |
Bred='\033[1;31m' | |
mkdir ~/snort3-Plus | |
cd ~/snort3-Plus | |
echo ${BIGreen} '# made by Henrique Silva : scriptxone.blogspot.com' ${NC} |
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
# This script deploys snort 3 on ubuntu according the official guide given on | |
# https://snort-org-site.s3.amazonaws.com/production/document_files/files/000/000/211/original/Snort3.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIXACIED2SPMSC7GA%2F20200213%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200213T042310Z&X-Amz-Expires=172800&X-Amz-SignedHeaders=host&X-Amz-Signature=e871bb91fa3aa573ad8e425f0bcd641f8bd0f729562f42667d5b454fe9ad17a0 | |
cat << EOF | |
Making sure that your system is up-to-date | |
========================================== | |
EOF | |
sudo apt-get update && sudo apt-get dist-upgrade -y |
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 | |
apt install netstat pv | |
while true | |
do netstat -atunl | |
sleep 05 | pv -t | |
done | |
#Eg.: https://linuxize.com/post/bash-while-loop/ | |
#i=0 |
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 | |
#Shell Varibles | |
RED='\033[0;31m' | |
BIGreen='\033[1;92m' | |
NC='\033[0m' | |
Bred='\033[1;31m' | |
# eg.: this command makes the code TXT RED > tput setaf 1 | |
# Use dig command for determining my public IP address: |
OlderNewer