Sign in to follow this  
mesvak

INStall ur TOR and show ur IP SIMPLE script written in bash

Recommended Posts

[hide]

 

!/bin/sh
clear

echo -e """
mesvak is here runnnnnnn  thats my shadow pleb XD 
"""

echo -e "\tip-tor\033[91m :: \033[0m Install tor and show your ip XD  :)"
echo -e "\tCode\033[91m :: \033[0mNaategh"
echo -e "\tVersion\033[91m :: \033[0m0.4"
echo -e "\tEmail\033[91m :: \033[[email protected]"
echo ""

echo -e """
\033[91m1) \033[0mOnly install tor service
\033[91m2) \033[0mInstall tor browser
\033[91m3) \033[0mShow my ip
\033[91m4) \033[0mExit
"""

function main() {
read -p $'\033[36m > \033[0m' choise

case $choise in
1 )
apt update && apt install tor
echo -e  "\n\033[93mTor service installed successfully :)\033[0m"
echo ""
read -p $'\033[93mDo you want start tor now?[y/N]' answer
case ${answer:0:1} in
    y|Y )
        service tor start;;
    n|N )
        ;; 
esac
main;;

2 )
sudo add-apt-repository ppa:webupd8team/tor-browser
apt update && apt install tor && apt install tor-browser
echo "\n\033[93mTor browser installed successfully :)\033[0m"
echo ""
main;;

3 ) 
echo -e "Your ip is:\033[91m"
ip= curl http://icanhazip.com
echo -e "\033[0m"
main;;


4 )
echo -e "\t \033[91m-----------bye!-----------\033[0m"
exit 0;;

* )
echo -e "\033[91mWrong command!!! \033[0m"
main;;
esac
}

main

 

 

 

[/hide]

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this