Advertisement
Guest User

1337 code

a guest
Sep 16th, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.58 KB | None | 0 0
  1. #!/usr/bin/python
  2. import time
  3. import os
  4. print(' ')
  5. print('Your DNS server right now is : 127.0.0.1 or 127.0.1.1')
  6. print(' ')
  7. print("OBS RUN AS ROOT!")
  8. print(' ')
  9. print("Welcome to Ch1m4zz anonymieser for Linux!")
  10. print(' ')
  11. start = raw_input ("Want to choose your own server or use my recommended? An Anonymous and no logged one! [Y or N] ")
  12. yes = ('Y')
  13. yes1 = ('y')
  14. no = ('N')
  15. no1 = ('n')
  16. if start == no1:
  17.         print('AAAWWW SHEET! Please use a capital N! Restart the script to try again!')
  18. if start == yes1:
  19.     print('AAAWWW SHEEET! Please use a capital Y! Restart the script to try again!')
  20. if start == yes:
  21.     i = open("/etc/resolv.conf", 'w')
  22.     i.write('nameserver 198.100.146.51')
  23.     i.close()
  24.     print ('Installing the server.')
  25.     time.sleep(1)
  26.     print ('Installing the server..')
  27.     time.sleep(1)
  28.     print ('Installing the server...')
  29.     time.sleep(1)
  30.     print('Done! You have now a Anonymous DNS server!')
  31.     print(' ')
  32. if start == no:
  33.         print("Well, it's your loss")
  34.     print(' ')
  35.     custome = raw_input("Type the custome IP of your DNS server!: ")
  36.     i = open("/etc/resolv.conf", "w")
  37.     i.write("nameserver " + custome)
  38.     i.close()
  39.     print('Done you have now the DNS server : '+ custome)
  40.     print(' ')
  41. tor = raw_input('Do you want install TOR? [Y or N] ')
  42. print(' ')
  43. y = ("Y")
  44. y1 = ("y")
  45. n = ("N")
  46. n1 = ("n")
  47. if tor == n1:
  48.     print('AAAWWW SHEET! Please use a capital N! Restart the script to try again!')
  49. if tor == n:
  50.         print ("Well, It's your loss :D")
  51. if tor == y1:
  52.         print('AAAWWW SHEET! Please use a capital Y! Restart the script to try again!')
  53. if tor == y:
  54.     os.system('sudo apt-get install tor')
  55.     print(' ')
  56.     print('TOR was installed!')
  57.     print(' ')
  58. proxy = raw_input('Do you want to install Proxychains? [Y or N] ')
  59. ye = ("Y")
  60. ye1 = ("y")
  61. ns = ("N")
  62. ns2 = ("n")
  63. if proxy == ns:
  64.         print ("Well, It's your loss :D")
  65. if proxy == ns2:
  66.     print('AAAWWW SHEET! Please use a capital N! Restart the script to try again!')
  67. if proxy == ye1:
  68.     print('AAAWWW SHEET! Please use a capital Y! Restart the script to try again!')
  69. if proxy == ye:
  70.     print(' ')
  71.     os.system('sudo apt-get install proxychains')
  72.     print(' ')
  73.     print('Proxychains was installed!')
  74.     print(' ')
  75. conf = raw_input('Do you want to configure Proxychains with TOR?[Y or N]')
  76. yeah = ('Y')
  77. yeah1 = ('y')
  78. hellno = ('N')
  79. hellno1 = ('n')
  80. if conf == hellno1:
  81.         print('AAAWWW SHEET! Please use a capital Y! Restart the script to try again!')
  82. if conf == hellno:
  83.         print ("Well, It's your loss :D")
  84. if conf == yeah1:
  85.     print('AAAWWW SHEET! Please use a capital Y! Restart the script to try again!')
  86. if conf == yeah:
  87.     os.system('cp config /etc/proxychains.conf')
  88.     print(' ') 
  89.     print('Proxychains was configured!')
  90.     print(' ')
  91. 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]')
  92. yeah2 = ('Y')
  93. yeah3 = ('y')
  94. nouh = ('N')
  95. nouh1 = ('n')
  96. if service == nouh:
  97.     print ("Well, It's your loss :D")
  98. if service == nouh1:
  99.     print ('AAAWWW SHEET! Please use a capital N! Restart the script to try again!')
  100. if service == yeah3:
  101.     print('AAAWWW SHEET! Please use a capital Y! Restart the script to try again!')
  102. if service == yeah2:
  103.     os.system('sudo service tor start')
  104.     print(' ')
  105.     print('TOR was started!')
  106.     print(' ')
  107.     print('Thanks for using my script! Have fun being Anonymous //Ch1m4zz')
  108.  
  109. print(' ') 
  110. print('Checking if you have a changed DNS server')
  111. print(' ')
  112. os.system("cat /etc/resolv.conf")
  113. print(' ')
  114. print("If it doesn't say nameserver 127.0.1.1 or 127.0.0.1 then you have a changed DNS!")
  115. print(' ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement