fenix_of_fire

download the bitchX IRC

Jan 18th, 2017
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.13 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. ####----All these commands were tested on kali linux 2.0 debian jessie----######
  4.  
  5. clear;
  6. echo "Welcome the bitchX install v1.0"
  7. printf "\n\nplease set the option:\n"
  8. printf "\n1 > Download the bitchX source"
  9. printf "\n2 > Install the bitchx source"
  10. printf "\n warning! install the bitchx only after downloading bitchxIRC !\n"
  11. read a1001b;
  12. if [ "$a1001b" == "1" ]; then
  13. curl www.bitchx.com/download.php > /usr/share/FObit.txt
  14. clear;
  15. e1001f="www.bitchx.com$(cat /usr/share/FObit.txt | grep "Latest" | cut -d '"' -f2)"
  16. c1001d="$(cat /usr/share/FObit.txt | grep "Latest" | cut -d '"' -f2 | cut -d"/" -f3)"
  17. i1001j="$(cat /usr/share/FObit.txt | grep "Latest" | cut -d '"' -f2 | cut -d"/" -f3 | cut -d"." -f1-4)"
  18. wget $e1001f
  19. gzip -fd $c1001d
  20. tar -xf $i1001j
  21. echo "end";
  22. rm -rf /usr/share/FObit.txt
  23. elif [ "$a1001b" == "2" ]; then
  24. clear
  25. curl www.bitchx.com/download.php > /usr/share/FObit.txt
  26. g1001h="$(cat /usr/share/FObit.txt | grep "Latest" | cut -d '"' -f2 | tr -d "download" | tr -d "/" | cut -d"." -f1-3)"
  27. cd $g1001h
  28. ./configure;
  29. make;
  30. make install;
  31. clear
  32. echo "end..."
  33. rm -rf /usr/share/FObit.txt;
  34. else
  35. exit;
  36. fi
Add Comment
Please, Sign In to add comment