[Phyton] Domainreporter.py

#!/usr/bin/python
# programmer : gunslinger_ <yudha.gunslinger@gmail.com>
# please use this tools to vanish that domain, i hope google responds this !
# this program is defeated form encryption multipart/form-data
# so you need to install http://pypi.python.org/pypi/MultipartPostHandler/0.1.0 python module
# tips :
# - extract the folder
# - python setup.py build
# - sudo python setup.py install
# then program ready to rock !
import urllib2, random, sys
try:
        import MultipartPostHandler
except ImportError:
        print "[*] Please install MultipartPostHandler first"

def main():
        try:
                domain          = ['http://www.thrasch-boy.com/',
                                ]
                ouruseragent    = ['Mozilla/4.0 (compatible; MSIE 5.0; SunOS 5.10 sun4u; X11)',
                                'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1',
                                'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.2pre) Gecko/20100207 Ubuntu/9.04 (jaunty) Namoroka/3.6.2pre',
                                'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Avant Browser;',
                                'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)',
                                        'Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 5.1)',
                                        'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6)',
                                        'Microsoft Internet Explorer/4.0b1 (Windows 95)',
                                        'Opera/8.00 (Windows NT 5.1; U; en)',
                                'amaya/9.51 libwww/5.4.0',
                                'Mozilla/4.0 (compatible; MSIE 5.0; AOL 4.0; Windows 95; c_athome)',
                                'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)',
                                'Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) (Kubuntu)',
                                'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; ZoomSpider.net bot; .NET CLR 1.1.4322)',
                                'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; QihooBot 1.0 qihoobot@qihoo.net)',
                                'Mozilla/4.0 (compatible; MSIE 5.0; Windows ME) Opera 5.11 [en]']
                success = 'Thanks for reporting this possible Terms of Service violation. We will examine it soon and take action as necessary.'
                opener  = urllib2.build_opener(MultipartPostHandler.MultipartPostHandler)
                counter = 1
                while 1:
                        opener.addheaders = [('User-agent', random.choice(ouruseragent))]
                        params = { 'extra.blog_URL' : random.choice(domain)
                                }
                        openserver = opener.open('http://www.google.com/support/blogger/bin/request.py?hl=en&ctx=submitted&confirm=hate_speech', params)
                        result = openserver.read()
                        if success in result:
                                sys.stdout.write("%s[*] %s way success reporting domain %s to google ! %s" % ("\r", int(counter), params['extra.blog_URL'], " "*80))
                                sys.stdout.flush()
                        else:
                                print "[*] Failed ! please try again !"
                                sys.exit(1)
                        counter = int(counter) + 1
        except KeyboardInterrupt:
                print "\n[*] Exiting program\n"
                sys.exit(1)
        except urllib2.HTTPError:
                print "\n[*] Connections problem, please try again !\n"
                sys.stdout(1)

if __name__ == '__main__':
        print "domainreporter.py"
        print "gunslinger_ <yudha.gunslinger@gmail.com>"
        main()
Sumber: Nyit-Nyit.Net

Belum ada Komentar untuk "[Phyton] Domainreporter.py"

Posting Komentar

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel