Advertisement
AnonYmous-IQ

Wordpress Website Extraction WPrex By AnonYmous-IQ

Sep 30th, 2017
798
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 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. import re , urllib2 , sys , os
  43. from platform import system
  44.  
  45. if system() == 'Linux':
  46. os.system('clear')
  47. if system() == 'Windows':
  48. os.system('cls')
  49.  
  50. logo = '''
  51. #
  52. ##
  53. ###
  54. # ####
  55. # #####
  56. ## ######
  57. ### ######
  58. #### ######
  59. ###### ########
  60. ## ####
  61. # ## AnonYmous-IQ ### #
  62. # ## ########### ## #
  63. ## ## ########## ## ##
  64. ## ## # ######### ## ##
  65. ## ## # ######### ## ##
  66. ##### ## ######### ## ##
  67. ####### # ############ ##
  68. ###### ## ########## ##
  69. #### #### ####### ##
  70. ###### #### ##
  71. #### ## ## ####
  72. ## ## ## ##
  73.  
  74.  
  75. [*]' This Tool Is Coded By AnonYmous-IQ ! '[*]
  76. [*]' Note : Script . Was Intended To Be Used For Hacking Only '[*]
  77. [*]' Author Is Not Responsible For Any Damage It '[*]
  78. [*]' May Cause And User Holds Full Responsibility '[*]
  79. [*]' Neither war between hackers, nor peace for the system '[*]
  80.  
  81.  
  82.  
  83. [*] Usage : python '''+sys.argv[0]+''' 127.0.0.1
  84. '''
  85.  
  86. # found this code on stackoverflow.com/questions/19278877
  87. def unique(seq):
  88. seen = set()
  89. return [seen.add(x) or x for x in seq if x not in seen]
  90.  
  91. print(logo)
  92. try:
  93. lista = []
  94. s = sys.argv[1]
  95. page = 1
  96. print('\n')
  97. while page <= 21:
  98. bing = "http://www.bing.com/search?q=ip%3A"+s+"+?page_id=&count=50&first="+str(page)
  99. openbing = urllib2.urlopen(bing)
  100. readbing = openbing.read()
  101. findwebs = re.findall('<h2><a href="(.*?)"' , readbing)
  102. for i in range(len(findwebs)):
  103. wpnoclean = findwebs[i]
  104. findwp = re.findall('(.*?)\?page_id=', wpnoclean)
  105. lista.extend(findwp)
  106.  
  107. page = page + 10
  108.  
  109. final = unique(lista)
  110. for wp in final:
  111. print(wp)
  112.  
  113. try:
  114. for i , l in enumerate(final):
  115. pass
  116. print '\nSites Found : ' , i + 1
  117. except:
  118. pass
  119.  
  120. except IndexError:
  121. pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement