DarkProgrammer000

Super Bot [ex: Folha de SP]

Aug 5th, 2021 (edited)
2,310
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. """
  2. Programa: Super BOT de visualizacao no youtube, facebook com 30 Threads
  3. Testado em wordpress, joomla, e afins
  4. """
  5.  
  6. # Biblioteca
  7. import requests
  8. from os import system
  9. from time import sleep
  10. from threading import Thread
  11.  
  12. # Apresentacao
  13. def apresentacao():
  14.  
  15.     # Comando de sistema
  16.     system("clear")
  17.     print("\033[01;31m # DARK PROGRAMMER 000 \033[01;37m")
  18.  
  19.     # IP externo
  20.     system("echo -n ' # IP [externo]: '")
  21.     system("curl ifconfig.me --silent | awk {'print $1'}")
  22.  
  23.     # IP interno
  24.     system("echo -n ' # IP [interno]: '")
  25.     system("hostname -I | awk {'print $1'}")
  26.  
  27.     # Simbolo
  28.     print('''\033[01;32m
  29.                  ..:::::::::..
  30.                  ..:::aad8888888baa:::..
  31.              .::::d:?88888888888?::8b::::.
  32.            .:::d8888:?88888888??a888888b:::.
  33.          .:::d8888888a8888888aa8888888888b:::.
  34.         ::::dP::::::::88888888888::::::::Yb::::
  35.        ::::dP:::::::::Y888888888P:::::::::Yb::::
  36.       ::::d8:::::::::::Y8888888P:::::::::::8b::::
  37.      .::::88::::::::::::Y88888P::::::::::::88::::.
  38.      :::::Y8baaaaaaaaaa88P:T:Y88aaaaaaaaaad8P:::::
  39.      :::::::Y88888888888P::|::Y88888888888P:::::::
  40.      ::::::::::::::::888:::|:::888::::::::::::::::
  41.      ::::::::::::::::8888888888888b::::::::::::::'
  42.       :::::::::::::::88888888888888::::::::::::::
  43.        :::::::::::::d88888888888888:::::::::::::
  44.         ::::::::::::88::88::88:::88::::::::::::
  45.           ::::::::::88::88::88:::88::::::::::'
  46.             ::::::::88::88::P::::88::::::::'
  47.               ::::::88::88:::::::88::::::'
  48.                ::::::::::::::::::::
  49.                       ::::::::::
  50.                       \033[01;37m''')
  51.  
  52. # Mensagem
  53. def msg():
  54.  
  55.     # Mensagem
  56.     print("\033[01;35m\n\n # Ativando Super BOT de visualizacao \033[01;37m")
  57.  
  58.     lista = ["...", "......", ".................."]
  59.  
  60.     for i in range(0, len(lista)):
  61.         print("\033[01;32m\n Loading \033[01;37m", end=" ")
  62.         print(str("\033[01;33m " + lista[i] + "\033[01;37m"))
  63.         sleep(1)
  64.  
  65.     system("clear")
  66.  
  67. # Metodo: Visualizacoes
  68. def visualizacao(args):
  69.  
  70.     while True:
  71.  
  72.         print("\n = Controle: " + str(args))
  73.  
  74.         try:
  75.             # Configuracao
  76.  
  77.             # url = "http://127.0.0.1"
  78.             proxy = {"http": "http://45.235.44.93:8080"}
  79.             header = {"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0"}
  80.  
  81.             # Requisicao
  82.             # requisicao = requests.get(url=url, headers=header, proxies=proxy)
  83.             requisicao = requests.get(url=url, headers=header)
  84.  
  85.             # Saida de dados
  86.             print("\n - Site: " + str(requisicao.url))
  87.             print(" - Requisicao: " + str(requisicao.request))
  88.             print(" - Codigo de saida: " + str(requisicao.status_code))
  89.  
  90.             for i, j in requisicao.headers.items():
  91.                 print(" - " + str(i) + ": " + str(j))
  92.         except:
  93.             continue
  94.  
  95. # Apresentacao
  96. apresentacao()
  97.  
  98. # Entrada de dados
  99. url = str(input(" - Host (https://www.folha.uol.com.br/): "))
  100.  
  101. # Mensagem
  102. msg()
  103.  
  104. # Criacao das Thread
  105. t_visual_1 = Thread(target=visualizacao, args=["1"])
  106. t_visual_2 = Thread(target=visualizacao, args=["2"])
  107. t_visual_3 = Thread(target=visualizacao, args=["3"])
  108. t_visual_4 = Thread(target=visualizacao, args=["4"])
  109. t_visual_5 = Thread(target=visualizacao, args=["5"])
  110. t_visual_6 = Thread(target=visualizacao, args=["6"])
  111. t_visual_7 = Thread(target=visualizacao, args=["7"])
  112. t_visual_8 = Thread(target=visualizacao, args=["8"])
  113. t_visual_9 = Thread(target=visualizacao, args=["9"])
  114. t_visual_10 = Thread(target=visualizacao, args=["10"])
  115. t_visual_11 = Thread(target=visualizacao, args=["11"])
  116. t_visual_12 = Thread(target=visualizacao, args=["12"])
  117. t_visual_13 = Thread(target=visualizacao, args=["13"])
  118. t_visual_14 = Thread(target=visualizacao, args=["14"])
  119. t_visual_15 = Thread(target=visualizacao, args=["15"])
  120. t_visual_16 = Thread(target=visualizacao, args=["16"])
  121. t_visual_17 = Thread(target=visualizacao, args=["17"])
  122. t_visual_18 = Thread(target=visualizacao, args=["18"])
  123. t_visual_19 = Thread(target=visualizacao, args=["19"])
  124. t_visual_20 = Thread(target=visualizacao, args=["20"])
  125. t_visual_21 = Thread(target=visualizacao, args=["21"])
  126. t_visual_22 = Thread(target=visualizacao, args=["22"])
  127. t_visual_23 = Thread(target=visualizacao, args=["23"])
  128. t_visual_24 = Thread(target=visualizacao, args=["24"])
  129. t_visual_25 = Thread(target=visualizacao, args=["25"])
  130. t_visual_26 = Thread(target=visualizacao, args=["26"])
  131. t_visual_27 = Thread(target=visualizacao, args=["27"])
  132. t_visual_28 = Thread(target=visualizacao, args=["28"])
  133. t_visual_29 = Thread(target=visualizacao, args=["29"])
  134. t_visual_30 = Thread(target=visualizacao, args=["30"])
  135.  
  136. # Executar
  137. t_visual_1.start()
  138. t_visual_2.start()
  139. t_visual_3.start()
  140. t_visual_4.start()
  141. t_visual_5.start()
  142. t_visual_6.start()
  143. t_visual_7.start()
  144. t_visual_8.start()
  145. t_visual_9.start()
  146. t_visual_10.start()
  147. t_visual_11.start()
  148. t_visual_12.start()
  149. t_visual_13.start()
  150. t_visual_14.start()
  151. t_visual_15.start()
  152. t_visual_16.start()
  153. t_visual_17.start()
  154. t_visual_18.start()
  155. t_visual_19.start()
  156. t_visual_20.start()
  157. t_visual_21.start()
  158. t_visual_22.start()
  159. t_visual_23.start()
  160. t_visual_24.start()
  161. t_visual_25.start()
  162. t_visual_26.start()
  163. t_visual_27.start()
  164. t_visual_28.start()
  165. t_visual_29.start()
  166. t_visual_30.start()
  167.  
RAW Paste Data