Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import time
- import os
- print(' ')
- print('Your DNS server right now is : 127.0.0.1 or 127.0.1.1')
- print(' ')
- print("OBS RUN AS ROOT!")
- print(' ')
- print("Welcome to Ch1m4zz anonymieser for Linux!")
- print(' ')
- start = raw_input ("Want to choose your own server or use my recommended? An Anonymous and no logged one! [Y or N] ")
- yes = ('Y')
- yes1 = ('y')
- no = ('N')
- no1 = ('n')
- if start == no1:
- print('AAAWWW SHEET! Please use a capital N! Restart the script to try again!')
- if start == yes1:
- print('AAAWWW SHEEET! Please use a capital Y! Restart the script to try again!')
- if start == yes:
- i = open("/etc/resolv.conf", 'w')
- i.write('nameserver 198.100.146.51')
- i.close()
- print ('Installing the server.')
- time.sleep(1)
- print ('Installing the server..')
- time.sleep(1)
- print ('Installing the server...')
- time.sleep(1)
- print('Done! You have now a Anonymous DNS server!')
- print(' ')
- if start == no:
- print("Well, it's your loss")
- print(' ')
- custome = raw_input("Type the custome IP of your DNS server!: ")
- i = open("/etc/resolv.conf", "w")
- i.write("nameserver " + custome)
- i.close()
- print('Done you have now the DNS server : '+ custome)
- print(' ')
- tor = raw_input('Do you want install TOR? [Y or N] ')
- print(' ')
- y = ("Y")
- y1 = ("y")
- n = ("N")
- n1 = ("n")
- if tor == n1:
- print('AAAWWW SHEET! Please use a capital N! Restart the script to try again!')
- if tor == n:
- print ("Well, It's your loss :D")
- if tor == y1:
- print('AAAWWW SHEET! Please use a capital Y! Restart the script to try again!')
- if tor == y:
- os.system('sudo apt-get install tor')
- print(' ')
- print('TOR was installed!')
- print(' ')
- proxy = raw_input('Do you want to install Proxychains? [Y or N] ')
- ye = ("Y")
- ye1 = ("y")
- ns = ("N")
- ns2 = ("n")
- if proxy == ns:
- print ("Well, It's your loss :D")
- if proxy == ns2:
- print('AAAWWW SHEET! Please use a capital N! Restart the script to try again!')
- if proxy == ye1:
- print('AAAWWW SHEET! Please use a capital Y! Restart the script to try again!')
- if proxy == ye:
- print(' ')
- os.system('sudo apt-get install proxychains')
- print(' ')
- print('Proxychains was installed!')
- print(' ')
- conf = raw_input('Do you want to configure Proxychains with TOR?[Y or N]')
- yeah = ('Y')
- yeah1 = ('y')
- hellno = ('N')
- hellno1 = ('n')
- if conf == hellno1:
- print('AAAWWW SHEET! Please use a capital Y! Restart the script to try again!')
- if conf == hellno:
- print ("Well, It's your loss :D")
- if conf == yeah1:
- print('AAAWWW SHEET! Please use a capital Y! Restart the script to try again!')
- if conf == yeah:
- os.system('cp config /etc/proxychains.conf')
- print(' ')
- print('Proxychains was configured!')
- print(' ')
- service = raw_input('I can understand your tired of all of these questions so here is the next last one! Do you want to start to TOR? [Y or N]')
- yeah2 = ('Y')
- yeah3 = ('y')
- nouh = ('N')
- nouh1 = ('n')
- if service == nouh:
- print ("Well, It's your loss :D")
- if service == nouh1:
- print ('AAAWWW SHEET! Please use a capital N! Restart the script to try again!')
- if service == yeah3:
- print('AAAWWW SHEET! Please use a capital Y! Restart the script to try again!')
- if service == yeah2:
- os.system('sudo service tor start')
- print(' ')
- print('TOR was started!')
- print(' ')
- print('Thanks for using my script! Have fun being Anonymous //Ch1m4zz')
- print(' ')
- print('Checking if you have a changed DNS server')
- print(' ')
- os.system("cat /etc/resolv.conf")
- print(' ')
- print("If it doesn't say nameserver 127.0.1.1 or 127.0.0.1 then you have a changed DNS!")
- print(' ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement