Skip to content

Instantly share code, notes, and snippets.

View bluesku's full-sized avatar
💭
Shell Bomber

bluesku bluesku

💭
Shell Bomber
View GitHub Profile
@bluesku
bluesku / VirtualBox.sh
Last active February 7, 2021 06:07
VirtualBOX Installer Script
#!/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
@bluesku
bluesku / tor-browser.sh
Last active February 7, 2021 06:09
Install TOR Browsing At Your Ubuntu
#! /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
@bluesku
bluesku / teamviewer-install.sh
Created February 4, 2021 21:57
Teamviewer for Linux Ubuntu x32bits
#! /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
@bluesku
bluesku / Snort-Install.sh
Last active February 5, 2021 16:03
Installing Sort IDS from Cisto to your Ubuntu
#! /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
@bluesku
bluesku / Snort-post-install.config.sh
Last active February 8, 2021 07:19
Snort-post-install.config
#! /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
@bluesku
bluesku / IDS-Snort-run.sh
Last active February 8, 2021 17:25
IDS-Snort-run.sh
#! /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
@bluesku
bluesku / Snort-v3-install-32-64bits.sh
Last active February 24, 2021 03:47
Snort-v3-install-32-64bits.sh
#! /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}
@bluesku
bluesku / snort3_ubuntu18.04_deployment.sh
Created February 7, 2021 06:05 — forked from cstayyab/snort3_ubuntu18.04_deployment.sh
Deploy Snort 3 on Ubuntu 18.04
# 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
@bluesku
bluesku / netstat.sh
Last active February 10, 2021 16:29
Usage Netstat as Network Monitor
#! /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
@bluesku
bluesku / dig.myipaddress.sh
Created February 8, 2021 03:11
Find Your IP Address with DIG
#!/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: