JamesBops

Untitled

Oct 29th, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.88 KB | None | 0 0
  1. import re
  2. import socket
  3. import requests
  4. import urllib2
  5. import urllib
  6. import os
  7. import sys
  8. import time
  9. import cookielib
  10. from bs4 import BeautifulSoup
  11. from platform import system
  12.  
  13. banner =""" Tempik
  14. /$$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$$$
  15. | $$__ $$ /$$__ $$ /$$__ $$ /$$__ $$|__ $$__/
  16. | $$ \ $$| $$ \ $$| $$ \__/| $$ \ $$ | $$
  17. | $$$$$$$ | $$$$$$$$| $$ | $$ | $$ | $$
  18. | $$__ $$| $$__ $$| $$ | $$ | $$ | $$
  19. | $$ \ $$| $$ | $$| $$ $$| $$ | $$ | $$
  20. | $$$$$$$/| $$ | $$| $$$$$$/| $$$$$$/ | $$
  21. |_______/ |__/ |__/ \______/ \______/ |__/
  22. \t Coded By Nelo.F4
  23. \t Explosion Squad Cyber
  24. \t https://www.facebook.com/fadiel.s.new
  25. \t https://t.me/Nelssshere
  26. """
  27. print (banner)
  28. headers = {"User-Agent": "Mozilla/5.0 (Windows NT 6.1; rv:57.0) Gecko/20100101 Firefox/57.0"}
  29. print ("""
  30. 1. Bing Dorker Random Domains
  31. 2. Get Weblist From IP
  32. 3. Get IP From Website
  33. 4. Add HTTP On All Weblist
  34. 5. URL List Cleaner
  35. """)
  36.  
  37. nels = raw_input("root@Nels:~# ")
  38.  
  39. class males():
  40. #def alldomains(self):
  41. #iya = raw_input("List@Dork:~# ")
  42. #iya = open(iya, 'r')
  43. #dom = ['ac', 'ad', 'ae', 'af', 'ag', 'ai', 'al', 'am', 'an', 'ao',
  44. #'aq', 'ar', 'as', 'at', 'au', 'aw', 'ax', 'az', 'ba', 'bb',
  45. #'bd', 'be', 'bf', 'bg', 'bh', 'bi', 'bj', 'bm', 'bn', 'bo',
  46. #'br', 'bs', 'bt', 'bv', 'bw', 'by', 'bz', 'ca', 'cc', 'cd',
  47. #'cf', 'cg', 'ch', 'ci', 'ck', 'cl', 'cm', 'cn', 'co', 'cr',
  48. #'cu', 'cv', 'cx', 'cy', 'cz', 'de', 'dj', 'dk', 'dm', 'do',
  49. #'dz', 'ec', 'ee', 'eg', 'eh', 'er', 'es', 'et', 'eu', 'fi',
  50. #'fj', 'fk', 'fm', 'fo', 'fr', 'ga', 'gb', 'gd', 'ge', 'gf',
  51. #'gg', 'gh', 'gi', 'gl', 'gm', 'gn', 'gp', 'gq', 'gr', 'gs',
  52. #'gt', 'gu', 'gw', 'gy', 'hk', 'hm', 'hn', 'hr', 'ht', 'hu',
  53. #'id', 'ie', 'il', 'im', 'in', 'io', 'iq', 'is', 'it',
  54. #'je', 'jm', 'jo', 'jp', 'ke', 'kg', 'kh', 'ki', 'km', 'kn',
  55. #'kp', 'kr', 'kw', 'ky', 'kz', 'la', 'lb', 'lc', 'li', 'lk',
  56. #'lr', 'ls', 'lt', 'lu', 'lv', 'ly', 'ma', 'mc', 'md', 'me',
  57. #'mg', 'mh', 'mk', 'ml', 'mm', 'mn', 'mo', 'mp', 'mq', 'mr',
  58. #'ms', 'mt', 'mu', 'mv', 'mw', 'mx', 'my', 'mz', 'na', 'nc',
  59. #'ne', 'nf', 'ng', 'ni', 'nl', 'no', 'np', 'nr', 'nu', 'nz',
  60. #'om', 'pa', 'pe', 'pf', 'pg', 'ph', 'pk', 'pl', 'pm', 'pn',
  61. #'pr', 'ps', 'pt', 'pw', 'py', 'qa', 're', 'ro', 'rs', 'ru',
  62. #'rw', 'sa', 'sb', 'sc', 'sd', 'se', 'sg', 'sh', 'si', 'sj',
  63. #'sk', 'sl', 'sm', 'sn', 'so', 'sr', 'st', 'su', 'sv', 'sy',
  64. #'sz', 'tc', 'td', 'tf', 'tg', 'th', 'tj', 'tk', 'tl', 'tm',
  65. #'tn', 'to', 'tp', 'tr', 'tt', 'tv', 'tw', 'tz', 'ua', 'ug',
  66. #'uk', 'um', 'us', 'uy', 'uz', 'va', 'vc', 've', 'vg', 'vi',
  67. #'vn', 'vu', 'wf', 'ws', 'ye', 'yt', 'za', 'zm', 'zw', 'com',
  68. #'net', 'org', 'biz', 'gov', 'mil', 'edu', 'info', 'int', 'tel',
  69. #'name', 'aero', 'asia', 'cat', 'coop', 'jobs', 'mobi', 'museum',
  70. #'pro', 'travel']
  71. #for udah in iya:
  72. #tam = []
  73. #page = 1
  74. #while page < 159:
  75. #bing = "http://www.bing.com/search?q="+udah+' site:.'+dom+"+&count=50&first="+str(page)
  76. #rek = requests.get(bing,verify=False,headers=headers)
  77. #eee = rek.content
  78. #nemu = re.findall('<h2><a href="(.*?)"', eee)
  79. #for o in nemu:
  80. #i = o.split('/')
  81. #if (i[0]+'//'+i[2]) in tam:
  82. #pass
  83. #else:
  84. #tam.append(i[0]+'//'+i[2])
  85. #print '[>>]',(i[0]+'//'+i[2])
  86. #with open('AllDomains.txt', 'a') as s:
  87. #s.writelines((i[0]+'//'+i[2])+'\n')
  88. #pages = pages+50
  89.  
  90. def randomdomen(self):
  91. bo = raw_input("List@Dork:~# ")
  92. bo = open(bo, 'r')
  93. for oaja in bo:
  94. sa = []
  95. tu = 1
  96. while tu < 159:
  97. bing0 = "http://www.bing.com/search?q="+oaja+"+&count=50&first="+str(tu)
  98. iyoo = requests.get(bing0,verify=False,headers=headers)
  99. rrr = iyoo.content
  100. sip = re.findall('<h2><a href="(.*?)"', rrr)
  101. for i in sip:
  102. o = i.split('/')
  103. if (o[0]+'//'+o[2]) in sa:
  104. pass
  105. else:
  106. sa.append(o[0]+'//'+o[2])
  107. print '[>>]',(o[0]+'//'+o[2])
  108. with open('Random.txt', 'a') as s:
  109. s.writelines((o[0]+'//'+o[2])+'\n')
  110. tu = tu+50
  111.  
  112.  
  113. def grabip(self):
  114. ooke = raw_input("List@IP:~# ")
  115. ooke = open(ooke, 'r')
  116. for zzz in ooke:
  117. bo = []
  118. lonk = 1
  119. while lonk < 299:
  120. bingung = "http://www.bing.com/search?q=IP%3A"+zzz+"+&count=50&first="+str(lonk)
  121. iyagw = requests.get(bingung,verify=False,headers=headers)
  122. gans = iyagw.content
  123. ya = re.findall('<h2><a href="(.*?)"', gans)
  124. for z in ya:
  125. o = z.split('/')
  126. if (o[0]+'//'+o[2]) in bo:
  127. pass
  128. else:
  129. bo.append(o[0]+'//'+o[2])
  130. print '[>>]',(o[0]+'//'+o[2])
  131. with open('Grab.txt','a') as s:
  132. s.writelines((o[0]+'//'+o[2])+'\n')
  133. lonk = lonk+50
  134.  
  135. def http(self):
  136. kep = raw_input("List@Sites:~# ")
  137. kep = open(kep, 'r')
  138. for i in kep:
  139. i = i.rstrip()
  140. print("http://"+i)
  141. with open('HTTP.txt', 'a') as o:
  142. o.write("http://" + i + '\n')
  143. print("[>>] D0N3! Check HTTP.txt")
  144.  
  145. def clean(self):
  146. print ("URL LIST WITHOUT HTTP://")
  147. oh = raw_input("List@Sites:~#")
  148. oh = open(oh, 'r')
  149. for i in oh:
  150. i = i.rstrip()
  151. with open("Cleaner.txt", 'a') as f:
  152. f.write(i.split('/')[0] + '\n')
  153. print('[>>] D0N3! Check Cleaner.txt')
  154.  
  155. def getip(self):
  156. hooh = raw_input("List@IP:~# ")
  157. hooh = open(hooh, 'r')
  158. for i in hooh.readlines():
  159. done = i.rstrip()
  160. try:
  161. done = done.rstrip()
  162. bine = requests.get('http://api.hackertarget.com/reverseiplookup/?q='+done)
  163. if '.' in bine.content:
  164. print ("[>>]" + (bine.content))
  165. with open('Gotcha.txt', 'a') as o:
  166. o.writelines(bine.content + '\n')
  167. else:
  168. pass
  169.  
  170. except:
  171. pass
  172.  
  173.  
  174. dahah = males()
  175. if nels == '1':
  176. dahah.randomdomen()
  177. elif nels == '2':
  178. dahah.grabip()
  179. elif nels == '4':
  180. dahah.http()
  181. elif nels == '5':
  182. dahah.clean()
  183. elif nels == '3':
  184. dahah.getip()
  185. else:
  186. print("?")
  187.  
Add Comment
Please, Sign In to add comment