forked from 3kh0/echodown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathechodown.py
72 lines (63 loc) · 4.16 KB
/
echodown.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#
# ███████╗░█████╗░██╗░░██╗░█████╗░ ██████╗░░█████╗░░██╗░░░░░░░██╗███╗░░██╗
# ██╔════╝██╔══██╗██║░░██║██╔══██╗ ██╔══██╗██╔══██╗░██║░░██╗░░██║████╗░██║
# █████╗░░██║░░╚═╝███████║██║░░██║ ██║░░██║██║░░██║░╚██╗████╗██╔╝██╔██╗██║
# ██╔══╝░░██║░░██╗██╔══██║██║░░██║ ██║░░██║██║░░██║░░████╔═████║░██║╚████║
# ███████╗╚█████╔╝██║░░██║╚█████╔╝ ██████╔╝╚█████╔╝░░╚██╔╝░╚██╔╝░██║░╚███║
# ╚══════╝░╚════╝░╚═╝░░╚═╝░╚════╝░ ╚═════╝░░╚════╝░░░░╚═╝░░░╚═╝░░╚═╝░░╚══╝
#
# https://github.com/3kh0/echodown
#
# Yes, this tool does not do any DDoSing, that would be illegal!
import random
from termcolor import colored
from connection import check_connection
from attack import start_attack
from user_input import get_ip_address, get_protocol, get_thread_num
from pick import pick # https://github.com/wong2/pick
from time import sleep
def main():
print()
print(colored("Starting Echo Down, please hold on!", "red"))
print(colored("I am sure you are using this for legal purposes - Echo", "red"))
print()
check_connection()
print(colored('''
███████╗░█████╗░██╗░░██╗░█████╗░ ██████╗░░█████╗░░██╗░░░░░░░██╗███╗░░██╗
██╔════╝██╔══██╗██║░░██║██╔══██╗ ██╔══██╗██╔══██╗░██║░░██╗░░██║████╗░██║
█████╗░░██║░░╚═╝███████║██║░░██║ ██║░░██║██║░░██║░╚██╗████╗██╔╝██╔██╗██║
██╔══╝░░██║░░██╗██╔══██║██║░░██║ ██║░░██║██║░░██║░░████╔═████║░██║╚████║
███████╗╚█████╔╝██║░░██║╚█████╔╝ ██████╔╝╚█████╔╝░░╚██╔╝░╚██╔╝░██║░╚███║
╚══════╝░╚════╝░╚═╝░░╚═╝░╚════╝░ ╚═════╝░░╚════╝░░░░╚═╝░░░╚═╝░░╚═╝░░╚══╝
''', 'red'))
print(colored(" The most powerful DDoS tool out there","red",attrs=["bold"],))
print()
menu_selections = [
'Start',
'Credits',
'Exit'
]
sleep(2)
menu_selection = pick(menu_selections, 'Pick an option...', '> ')[0]
match menu_selection:
case 'Start':
ip = get_ip_address()
protocol = get_protocol()
threads = get_thread_num()
print(colored("Launched with " + str(threads) + " threads.", "cyan"))
print()
start_attack(ip, protocol, threads)
case 'Credits':
print(colored(' ECHODOWN', attrs=['bold']))
print(colored('''
Star us on github!
https://github.com/3kh0/echodown
Developers
@3kh0
@aeiea
@RuralAnemone
''', 'green'))
case 'Exit':
exit(0)
if __name__ == "__main__":
main()