Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ "$1" == "" ]; then
- clear
- echo -e "\t\t\b####################################"
- echo -e "\t\t### ASSISTANT of PROXYCHAINS ###"
- echo -e "\t\t----------############----------"
- echo -e "\t\t### Use: $0 -h ###"
- echo -e "\t\t###\t\t\t\t\b\b ###"
- echo -e "\t\t###\t\t\b\b\b\bBy:init-0 \t\t\b###"
- echo -e "\t\t\b####################################"
- echo
- fi
- initENTER=$1
- if [ "$initENTER" == "-h" -o "$initENTER" == "--help" ]; then
- clear
- echo -e "########################\n HELP TABLE\n########################"
- echo -e "\nASSISTANT OF PROXYCHAINS v1.0\n"
- echo -e "\n-s --start to run the script\n\n-h --help Show this menu"
- echo -e "\nWhen are running use --stop to exit"
- echo -e "\nIn the result output select 'q' and set enter to go back to the beginning\n"
- echo -e "\nBy:init-0"
- exit
- elif [ "$initENTER" == "-s" -o "$initENTER" == "--start" ]; then
- PpVeryroxychains=$(whereis proxychains.conf | cut -d" " -f3)
- if [ "$PpVeryroxychains" != "/etc/proxychains.conf" ]; then
- clear
- echo "Please install the proxychains"
- echo "apt-get install proxychains"
- echo
- exit
- else
- clear
- echo -e "!!!A-F_proxychains!!!"
- sleep 2
- clear
- echo -e "\t!hacker the planet!"
- sleep 2
- clear
- echo
- printf "Config the Proxychains ? [y/n] "
- read initCENTER
- fi
- if [ "$initCENTER" == "y" -o "$initCENTER" == "Y" ]; then
- Pproxychains2=$(whereis proxychains.conf | cut -d" " -f3)
- sleep 2
- vim $Pproxychains2
- clear
- echo "One moment!"
- sleep 3
- elif ["$initCENTER" != "y" -o "$initCENTER" != "Y" ]; then
- sleep 1
- fi
- while true; do
- clear
- echo -e ">>>PROXYCHAINS<<<\n"
- read Pptargetp
- clear
- if [ "$Pptargetp" == "" ]; then
- clear
- echo -e ">>>PROXYCHAINS<<<\n"
- read Pptargetp
- clear
- fi
- if [ "$Pptargetp" == "--stop" ]; then
- exit
- fi
- if [ "$Pptargetp" != "" -a "$Pptargetp" != "--stop" ]; then
- EexeC=$Pproxychains $Pptargetp >> logPRC.txt&
- while true; do
- read -t 1 initFINAL
- clear
- cat logPRC.txt
- printf "\n\n\n\n\n >>> 'q' and enter for return <<<"
- if [ "$initFINAL" == "q" ]; then
- break
- fi
- done
- clear
- printf "Rename file-log: "
- read filelogname
- mv logPRC.txt $filelogname.txt
- rm -rf .txt
- fi
- done;
- elif [ "$initENTER" != "" -a "$initENTER" != "-s" ]; then
- clear
- echo "Sorry invalid option"
- echo
- exit
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement