Advertisement
AnonYmous-IQ

Joomla Website Extraction WPrex By AnonYmous-IQ

Sep 30th, 2017
586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. #!/usr/bin/python
  2.  
  3. #
  4.  
  5. '''
  6.  
  7. ;::::;
  8. ;::::; :;
  9. ;:::::' :;
  10. ;:::::; ;.
  11. ,:::::' ; OOO\
  12. ::::::; ; OOOOO\
  13. ;:::::; ; OOOOOOOO
  14. ,;::::::; ;' / OOOOOOO
  15. ;:::::::::`. ,,,;. / / DOOOOOO
  16. .';:::::::::::::::::;, / / DOOOOo
  17. ,::::::;::::::;;;;::::;, / / DOOO -
  18. ;`::::AnonYmous-IQ;::::: ,#/ / DOOO
  19. :`:::::::`;::::::;;::: ;::# / DOOO -+=+-\ youtube.com/user/AnonYmous43580/videos
  20. ::`:::::::`;:::::::: ;::::# / DOO
  21. `:`:::::::`;:::::: ;::::::#/ DOO
  22. :::`:::::::`;; ;:::::::::## OO
  23. ::::`:::::::`;::::::::;:::# OO
  24. `:::::`::::::::::::;'`:;::# O
  25. `:::::`::::::::;' / / `:# /
  26. ::::::`:::::;' / / `#
  27. #|-------------------------------
  28. #| Note : .. Change the rights of the script does not make you a professional programmer, ... !!
  29. #| Respect The Coderz .. !!!
  30. #| By : AnonYmous-IQ
  31. #| Website : http://hack3r-iq.blogspot.com/
  32. #| Email :anonymousiq87@gmail.com
  33. #|-------------------------------
  34.  
  35. *NOTE!! :
  36. Use these scripts entirely at your own risk.
  37. The author cannot be held responsible for any damage, direct nor consequential,
  38. caused by the use of, or inability to use the techniques or scripts presented here.
  39.  
  40.  
  41. '''
  42.  
  43. import re , urllib2 , sys , os
  44. from platform import system
  45.  
  46. if system() == 'Linux':
  47. os.system('clear')
  48. if system() == 'Windows':
  49. os.system('cls')
  50.  
  51. logo = '''
  52.  
  53. #
  54. ##
  55. ###
  56. # ####
  57. # #####
  58. ## ######
  59. ### ######
  60. #### ######
  61. ###### ########
  62. ## ####
  63. # ## AnonYmous-IQ ### #
  64. # ## ########### ## #
  65. ## ## ########## ## ##
  66. ## ## # ######### ## ##
  67. ## ## # ######### ## ##
  68. ##### ## ######### ## ##
  69. ####### # ############ ##
  70. ###### ## ########## ##
  71. #### #### ####### ##
  72. ###### #### ##
  73. #### ## ## ####
  74. ## ## ## ##
  75.  
  76.  
  77. [*]' This Tool Is Coded By AnonYmous-IQ ! '[*]
  78. [*]' Note : Script . Was Intended To Be Used For Hacking Only '[*]
  79. [*]' Author Is Not Responsible For Any Damage It '[*]
  80. [*]' May Cause And User Holds Full Responsibility '[*]
  81. [*]' Neither war between hackers, nor peace for the system '[*]
  82.  
  83.  
  84. [*] Usage : python '''+sys.argv[0]+''' 127.0.0.1
  85. '''
  86.  
  87. # found this code on stackoverflow.com/questions/19278877
  88. def unique(seq):
  89. seen = set()
  90. return [seen.add(x) or x for x in seq if x not in seen]
  91.  
  92. print(logo)
  93. try:
  94. lista = []
  95. s = sys.argv[1]
  96. page = 1
  97. print('\n')
  98. while page <= 21:
  99. bing = "http://www.bing.com/search?q=ip%3A"+s+"+index.php?option=com&count=50&first="+str(page)
  100. openbing = urllib2.urlopen(bing)
  101. readbing = openbing.read()
  102. findwebs = re.findall('<h2><a href="(.*?)"' , readbing)
  103. for i in range(len(findwebs)):
  104. jmnoclean = findwebs[i]
  105. findjm = re.findall('(.*?)index.php', jmnoclean)
  106. lista.extend(findjm)
  107.  
  108. page = page + 10
  109.  
  110. final = unique(lista)
  111. for jm in final:
  112. print(jm)
  113.  
  114. try:
  115. for i , l in enumerate(final):
  116. pass
  117. print '\nSites Found : ' , i + 1
  118. except:
  119. pass
  120.  
  121. except IndexError:
  122. pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement