Advertisement
MiddleEastCyberArmy

[PYTHON] SERVER DORK SCANNER

Aug 25th, 2014
2,890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 8.67 KB | None | 0 0
  1. ==================================================================
  2. YOUTUBE: https://www.youtube.com/channel/UC5DPee5R7vtFytLZAGRNg4A
  3. PAGE: https://www.facebook.com/Middle.East.Cyber.Army.5
  4. TWITTER: https://twitter.com/MiddleEastCybe2
  5. ==================================================================
  6.  
  7.  
  8. #In The  Name Of Allah
  9. #!usr/bin/python 2.7
  10. #This Tool Is Coded By RebelGhost Dx !
  11. #We Are MECA Team (Middle East Cyber Army )
  12. #USE IT ONLY AGAIN ZIONIST SITES !!!
  13.  
  14. try:
  15.    import sys
  16.    import urllib2
  17.    import re
  18.  
  19.    print'''                                                      
  20.  
  21.                          #
  22.                           ##            
  23.                            ###
  24.                          #  ####        
  25.                           #  #####          
  26.                           ##  ######
  27.                           ###  ######
  28.                          ####   ######
  29.                         ###### ########
  30.                       ##            ####
  31.                  #  ##                ###  #
  32.                 #  ##    ###########    ##  #
  33.                ## ##    ##########      ##  ##
  34.                ## ##    #  #########    ##  ##
  35.                ## ## #      #########   ##  ##
  36.                ##### ##      #########  ##  ##
  37.                 #######  #    ############ ##
  38.                  ######  ##    ########## ##
  39.                   #### ####     ####### ##
  40.                     ######       #### ##
  41.                       #### ## ##  ####
  42.                          ## ## ## ##
  43.                                                                
  44.                  
  45.            #####   #####  ######   #########  ########                  
  46.            ##  ## ##  ##  ##      ##########  ########                  
  47.            ##    #    ##  ###### ##           ##    ##                
  48.            ##         ##  ###### ##           ########          
  49.            ##         ##  ##      ##########  ##    ##                      
  50.            ##         ##  ######   #########  ##    ##                    
  51.    {+} MIDDLE EAST CYBER ARMY! DX-IP DORKER (V 1.0){+} '''
  52.    print '================================================================================'
  53.    print '[*] This Tool Is Coded By RebelGhost Dx !                                      ||'
  54.    print '[*] GreetZ To All Members 0f MECA And All Fans                                 ||'
  55.    print '[*] You can Scan all server with any dork you provide  !                       ||'
  56.    print '[*] We Are MECA Team (Middle East Cyber Army)                                  ||'
  57.    print '[*] CautioN : Dnt Use This Script Against Muslim Sites !                       ||'
  58.    print '[*] CODER: https://www.facebook.com/AnonR.DX                                   ||'
  59.    print "[+] PAGE : https://www.facebook.com/Middle.East.Cyber.Army.5                   ||"
  60.    print '[+] TWITTER : https://twitter.com/MiddleEastCybe2                              ||'
  61.    print '[+] IF YOU SEE ANY ERROR !! CONTACT US FOR HELP !!!                            ||'
  62.    print '================================================================================'
  63.  
  64.    ip = raw_input('[#]Insert Server Ip Adresse : ')
  65.    Dork = raw_input(' [#]  Insert Your Dork : ')
  66.    Dork = Dork.replace(' ','+')
  67.    Dork = Dork.replace("?",'%3F')
  68.    Dork = Dork.replace("=",'%3D')
  69.    Dork = Dork.replace(":",'%3A')
  70.    Dork = Dork.replace("/",'%2F')
  71.    Dork = Dork.replace("'",'%27')
  72.    Dork = Dork.replace("(",'%28')
  73.    Dork = Dork.replace(")",'%29')
  74.    Rebel = 'http://www.bing.com/search?q=ip%3a'
  75.    Ghost = '&go=Valider%2cValider&qs=ds%2cds&first='
  76.    Meca1  = Rebel+ip+'+'+Dork+Ghost+'1' ; Meca2 = Rebel+ip+'+'+Dork+Ghost+'11'; Meca3 = Rebel+ip+'+'+Dork+Ghost+'21' ; Meca4 = Rebel+ip+'+'+Dork+Ghost+'31'; Meca5 = Rebel+ip+'+'+Dork+Ghost+'41'
  77.    Meca6  = Rebel+ip+'+'+Dork+Ghost+'51' ; Meca7 = Rebel+ip+'+'+Dork+Ghost+'61' ; Meca8 = Rebel+ip+'+'+Dork+Ghost+'71'  ; Meca9 = Rebel+ip+'+'+Dork+Ghost+'81' ; Meca10 = Rebel+ip+'+'+Dork+Ghost+'91'
  78.    Meca11 = Rebel+ip+'+'+Dork+Ghost+'101' ; Meca12 = Rebel+ip+'+'+Dork+Ghost+'111'; Meca13 = Rebel+ip+'+'+Dork+Ghost+'121' ; Meca14 = Rebel+ip+'+'+Dork+Ghost+'131'; Meca15 = Rebel+ip+'+'+Dork+Ghost+'141'
  79.    Meca16 = Rebel+ip+'+'+Dork+Ghost+'151' ; Meca17 = Rebel+ip+'+'+Dork+Ghost+'161'; Meca18 = Rebel+ip+'+'+Dork+Ghost+'171' ; Meca19 = Rebel+ip+'+'+Dork+Ghost+'181'; Meca20 = Rebel+ip+'+'+Dork+Ghost+'191'
  80.    Meca21 = Rebel+ip+'+'+Dork+Ghost+'201' ; Meca22 = Rebel+ip+'+'+Dork+Ghost+'211'; Meca23 = Rebel+ip+'+'+Dork+Ghost+'221' ; Meca24 = Rebel+ip+'+'+Dork+Ghost+'231'; Meca25 = Rebel+ip+'+'+Dork+Ghost+'241'
  81.    Meca26 = Rebel+ip+'+'+Dork+Ghost+'251' ; Meca27 = Rebel+ip+'+'+Dork+Ghost+'261'; Meca28 = Rebel+ip+'+'+Dork+Ghost+'271' ; Meca29 = Rebel+ip+'+'+Dork+Ghost+'281'; Meca30 = Rebel+ip+'+'+Dork+Ghost+'291'
  82.    Meca31 = Rebel+ip+'+'+Dork+Ghost+'301' ; Meca32 = Rebel+ip+'+'+Dork+Ghost+'311'; Meca33 = Rebel+ip+'+'+Dork+Ghost+'321' ; Meca34 = Rebel+ip+'+'+Dork+Ghost+'331'; Meca35 = Rebel+ip+'+'+Dork+Ghost+'341'
  83.    Meca36 = Rebel+ip+'+'+Dork+Ghost+'351' ; Meca37 = Rebel+ip+'+'+Dork+Ghost+'361'; Meca38 = Rebel+ip+'+'+Dork+Ghost+'371' ; Meca39 = Rebel+ip+'+'+Dork+Ghost+'381'; Meca40 = Rebel+ip+'+'+Dork+Ghost+'391'
  84.    Meca41 = Rebel+ip+'+'+Dork+Ghost+'401' ; Meca42 = Rebel+ip+'+'+Dork+Ghost+'411'; Meca43 = Rebel+ip+'+'+Dork+Ghost+'421' ; Meca44 = Rebel+ip+'+'+Dork+Ghost+'431'; Meca45 = Rebel+ip+'+'+Dork+Ghost+'441'
  85.    Meca46 = Rebel+ip+'+'+Dork+Ghost+'451' ; Meca47 = Rebel+ip+'+'+Dork+Ghost+'461'; Meca48 = Rebel+ip+'+'+Dork+Ghost+'471' ; Meca49 = Rebel+ip+'+'+Dork+Ghost+'481'; Meca50 = Rebel+ip+'+'+Dork+Ghost+'491'
  86.    Islam=[]
  87.    Muslim=[]
  88.    D1=0 ; D2=0 ; D3=0 ; D4=0 ; D5=0; D6=0 ; D7=0 ; D8=0 ; D9=0 ; D10=0
  89.    D11=0 ; D12=0 ; D13=0 ; D14=0 ; D15=0; D16=0 ; D17=0 ; D18=0 ; D19=0 ; D20=0
  90.    D21=0 ; D22=0 ; D23=0 ; D24=0 ; D25=0; D26=0 ; D27=0 ; D28=0 ; D29=0 ; D30=0
  91.    D31=0 ; D32=0 ; D33=0 ; D34=0 ; D35=0; D36=0 ; D37=0 ; D38=0 ; D39=0 ; D40=0
  92.    D41=0 ; D42=0 ; D43=0 ; D44=0 ; D45=0; D46=0 ; D47=0 ; D48=0 ; D49=0 ; D50=0
  93.    x=0
  94.    print '[!] In The Name Of Allah .. ^_^ '
  95.    print '=============================================================='
  96.    print '[!] Please Wait ... '
  97. except ImportError :
  98.    print ' Please Update Your Python Version  To 2.7 '
  99.    sys.exit(1)
  100. try:
  101.    print '[!]  Scanning SERVER  ..'
  102.      
  103.    def Blocker(seq, idfun=None):
  104.  
  105.       if idfun is None:
  106.           def idfun(x): return x
  107.       seen = {}
  108.       for item in seq:
  109.           marker = idfun(item)
  110.           if marker in seen: continue
  111.           seen[marker] = 1
  112.           Muslim.append(item)
  113.          
  114.    def Scanner(Num,Var):
  115.        Var[Num]=Var[Num].replace("http://www.microsofttranslator.com/","")
  116.        Var[Num]=Var[Num].replace("http://go.microsoft.com/","")
  117.        Var[Num]=Var[Num].replace("http://onlinehelp.microsoft.com","")
  118.        Var[Num]=Var[Num].replace("javascript:","")
  119.        
  120.    
  121.        if ':' in list(Var[Num])  :
  122.            Islam.append(Var[Num])
  123.        
  124.    def bing(Hunter,a):
  125.        Bing = urllib2.urlopen(Hunter)
  126.        Html = Bing.read()
  127.        Pat= re.compile ('<a [^>]*href="([^"]+)')
  128.        Lien = Pat.findall(Html)
  129.        while a<len(Lien):
  130.         Scanner(a,Lien)
  131.         a=a+1
  132.  
  133.    bing(Meca1,D1)   ; bing(Meca2,D2)   ; bing(Meca3,D3)   ; bing(Meca4,D4)   ; bing(Meca5,D5)
  134.    bing(Meca6,D6)   ; bing(Meca7,D7)   ; bing(Meca8,D8)   ; bing(Meca9,D9)   ; bing(Meca10,D10)
  135.    bing(Meca11,D11) ; bing(Meca12,D12) ; bing(Meca13,D13) ; bing(Meca14,D14) ; bing(Meca15,D15)
  136.    bing(Meca16,D16) ; bing(Meca17,D17) ; bing(Meca18,D18) ; bing(Meca19,D19) ; bing(Meca20,D20)
  137.    bing(Meca21,D21) ; bing(Meca22,D22) ; bing(Meca23,D23) ; bing(Meca24,D24) ; bing(Meca25,D25)
  138.    bing(Meca26,D26) ; bing(Meca27,D27) ; bing(Meca28,D28) ; bing(Meca29,D29) ; bing(Meca30,D30)
  139.    bing(Meca31,D31) ; bing(Meca32,D32) ; bing(Meca33,D33) ; bing(Meca34,D34) ; bing(Meca35,D35)
  140.    bing(Meca36,D36) ; bing(Meca37,D37) ; bing(Meca38,D38) ; bing(Meca39,D39) ; bing(Meca40,D40)
  141.    bing(Meca41,D41) ; bing(Meca42,D42) ; bing(Meca43,D43) ; bing(Meca44,D44) ; bing(Meca45,D45)
  142.    bing(Meca46,D46) ; bing(Meca47,D47) ; bing(Meca48,D48) ; bing(Meca49,D49) ; bing(Meca50,D40)
  143.    Blocker(Islam)
  144.    print '{!} Number Links :',len(Muslim),'(+)'
  145.    print '--------------------------------------------------------------'  
  146.    while x <len(Muslim):
  147.          print Muslim[x]
  148.          x=x+1
  149. except IOError:
  150.     print 'Try To Connect Your Computer To The Internet '
  151. except  KeyboardInterrupt :
  152.     print ' Exiting Program .. [+][+][+] '
  153. print '=============================================================='
  154. print '^_^ Coded By RebelGhost-DX .. Middle East Cyber Army! Team ^_^ '
  155. print '              [-]--- Job Finished --- [-]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement