Advertisement
fenix_of_fire

AFproxychains

Feb 15th, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.40 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. if [ "$1" == "" ]; then
  4.     clear
  5.     echo -e "\t\t\b####################################"
  6.     echo -e "\t\t###  ASSISTANT of PROXYCHAINS  ###"
  7.     echo -e "\t\t----------############----------"
  8.     echo -e "\t\t### Use: $0 -h ###"
  9.     echo -e "\t\t###\t\t\t\t\b\b ###"
  10.     echo -e "\t\t###\t\t\b\b\b\bBy:init-0 \t\t\b###"
  11.     echo -e "\t\t\b####################################"
  12.     echo
  13. fi
  14. initENTER=$1
  15. if [ "$initENTER" == "-h" -o "$initENTER" == "--help" ]; then
  16.     clear
  17.     echo -e "########################\n HELP TABLE\n########################"
  18.     echo -e "\nASSISTANT OF PROXYCHAINS v1.0\n"
  19.     echo -e "\n-s --start to run the script\n\n-h --help Show this menu"
  20.     echo -e "\nWhen are running use --stop to exit"
  21.     echo -e "\nIn the result output select 'q' and set enter to go back to the beginning\n"
  22.     echo -e "\nBy:init-0"
  23.     exit
  24. elif [ "$initENTER" == "-s" -o "$initENTER" == "--start" ]; then  
  25. PpVeryroxychains=$(whereis proxychains.conf | cut -d" " -f3)
  26. if [ "$PpVeryroxychains" != "/etc/proxychains.conf" ]; then
  27.     clear
  28.     echo "Please install the proxychains"
  29.     echo "apt-get install proxychains"
  30.     echo
  31.     exit
  32. else
  33.     clear
  34.     echo -e "!!!A-F_proxychains!!!"
  35.     sleep 2
  36.     clear
  37.     echo -e "\t!hacker the planet!"
  38.     sleep 2
  39.     clear
  40.     echo
  41.     printf "Config the Proxychains ? [y/n] "
  42.     read initCENTER
  43. fi
  44. if [ "$initCENTER" == "y" -o "$initCENTER" == "Y" ]; then
  45. Pproxychains2=$(whereis proxychains.conf | cut -d" " -f3)
  46.     sleep 2
  47.     vim $Pproxychains2
  48.     clear
  49.     echo "One moment!"
  50.     sleep 3
  51. elif ["$initCENTER" != "y" -o "$initCENTER" != "Y" ]; then
  52.    sleep 1
  53. fi
  54. while true; do
  55. clear
  56. echo -e ">>>PROXYCHAINS<<<\n"
  57. read Pptargetp
  58. clear
  59. if [ "$Pptargetp" == "" ]; then
  60.     clear
  61.     echo -e ">>>PROXYCHAINS<<<\n"
  62.     read Pptargetp
  63.     clear
  64. fi
  65. if [ "$Pptargetp" == "--stop" ]; then
  66.       exit
  67. fi
  68. if [ "$Pptargetp" != "" -a "$Pptargetp" != "--stop" ]; then
  69. EexeC=$Pproxychains $Pptargetp >> logPRC.txt&
  70. while true; do
  71.     read -t 1 initFINAL
  72.     clear
  73. cat logPRC.txt
  74. printf "\n\n\n\n\n >>> 'q' and enter for return <<<"
  75. if [ "$initFINAL" == "q" ]; then
  76.      break
  77. fi
  78. done
  79. clear
  80. printf "Rename file-log: "
  81. read filelogname
  82. mv logPRC.txt $filelogname.txt
  83. rm -rf .txt
  84. fi
  85. done;
  86. elif [ "$initENTER" != "" -a "$initENTER" != "-s" ]; then
  87.     clear
  88.     echo "Sorry invalid option"
  89.     echo
  90. exit
  91. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement