-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tool: Python 3 Multithread Beautiful Interface
- Loading branch information
1 parent
8d083ba
commit 6778774
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#!/usr/bin/env python3 | ||
import os, requests, sys, time | ||
from colorama import init, Fore, Style | ||
from concurrent.futures import ThreadPoolExecutor | ||
from socket import gethostbyname | ||
|
||
init() | ||
r = Fore.RED + Style.BRIGHT | ||
g = Fore.GREEN + Style.BRIGHT | ||
c = Fore.CYAN + Style.BRIGHT | ||
oo = Fore.YELLOW + Style.BRIGHT | ||
o = Fore.RESET + Style.RESET_ALL | ||
|
||
banner = """ | ||
{} ____ ___ _____ _____ _____ ___ ___ ____ | ||
{}/ ___|_ _|_ _| ____| |_ _/ _ \ |_ _| _ \ | ||
{}\___ \| | | | | _| _____ | || | | | _____ | || |_) | | ||
{} ___) | | | | | |___ |_____| | || |_| | |_____| | || __/ | ||
{}|____/___| |_| |_____| |_| \___/ |___|_|v2 | ||
{}CODED BY TUX-MACG1V | ||
TG:https://t.me/I_am_a_silent_killer | ||
{}Note : Domaine List Shoud Be Without http:// & / | ||
""".format(g, r, oo, c, r, g, r, o) | ||
|
||
|
||
def sitetoip(i): | ||
try: | ||
ip = gethostbyname(i) | ||
print('{}[+] '"{}{} ""{} == ""{}[{}]".format(g, oo, i, o, g, ip)) | ||
open('ips.txt', 'a').write(ip + '\n') | ||
except: | ||
print('{}[-] '"{}{}""{} == ""{}[ ERROR ]".format(r, oo, i, o, r)) | ||
|
||
def Main(): | ||
os.system('cls' if os.name == 'nt' else 'clear') | ||
print(banner) | ||
|
||
lists = input('\n{}[+] {}Website List{} > {}'.format(o, g, o, g)) | ||
thread = input('{}[+] {}Thread{} > {}'.format(o, g, o, r)) | ||
print('') | ||
try: | ||
domain = lists.replace('"','') | ||
process = open(domain, 'r').read().splitlines() | ||
with ThreadPoolExecutor(max_workers=int(thread)) as e: | ||
[e.submit(sitetoip, i) for i in process] | ||
except: | ||
print('{}[!] {}Incorrect'.format(o, r)) | ||
|
||
if __name__ == '__main__': | ||
Main() |