-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
68 lines (50 loc) · 5.25 KB
/
main.py
File metadata and controls
68 lines (50 loc) · 5.25 KB
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
import os
import os.path
from time import sleep
from datetime import datetime
from colorama import Fore, init, Style
os.system('cls')
print(f"""{Fore.MAGENTA}
██▒ █▓▓█████ ██▓ ▒█████ ██▓███ ██▓ ███▄ █ ▄████ ▓█████ ██▀███
▓██░ █▒▓█ ▀ ▓██▒ ▒██▒ ██▒ ▓██░ ██▒▓██▒ ██ ▀█ █ ██▒ ▀█▒▓█ ▀ ▓██ ▒ ██▒
▓██ █▒░▒███ ▒██░ ▒██░ ██▒ ▓██░ ██▓▒▒██▒▓██ ▀█ ██▒▒██░▄▄▄░▒███ ▓██ ░▄█ ▒
▒██ █░░▒▓█ ▄ ▒██░ ▒██ ██░ ▒██▄█▓▒ ▒░██░▓██▒ ▐▌██▒░▓█ ██▓▒▓█ ▄ ▒██▀▀█▄
▒▀█░ ░▒████▒░██████▒░ ████▓▒░ ▒██▒ ░ ░░██░▒██░ ▓██░░▒▓███▀▒░▒████▒░██▓ ▒██▒
░ ▐░ ░░ ▒░ ░░ ▒░▓ ░░ ▒░▒░▒░ ▒▓▒░ ░ ░░▓ ░ ▒░ ▒ ▒ ░▒ ▒ ░░ ▒░ ░░ ▒▓ ░▒▓░
░ ░░ ░ ░ ░░ ░ ▒ ░ ░ ▒ ▒░ ░▒ ░ ▒ ░░ ░░ ░ ▒░ ░ ░ ░ ░ ░ ░▒ ░ ▒░
░░ ░ ░ ░ ░ ░ ░ ▒ ░░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ {Style.RESET_ALL}""")
print(" ")
print(" ")
from tqdm import tqdm
import time
for i in tqdm(range(50), desc = f'\033[31m Progress: '):
time.sleep(0.1)
os.system('cls')
print(f"""{Fore.MAGENTA}
██▒ █▓▓█████ ██▓ ▒█████ ██▓███ ██▓ ███▄ █ ▄████ ▓█████ ██▀███
▓██░ █▒▓█ ▀ ▓██▒ ▒██▒ ██▒ ▓██░ ██▒▓██▒ ██ ▀█ █ ██▒ ▀█▒▓█ ▀ ▓██ ▒ ██▒
▓██ █▒░▒███ ▒██░ ▒██░ ██▒ ▓██░ ██▓▒▒██▒▓██ ▀█ ██▒▒██░▄▄▄░▒███ ▓██ ░▄█ ▒
▒██ █░░▒▓█ ▄ ▒██░ ▒██ ██░ ▒██▄█▓▒ ▒░██░▓██▒ ▐▌██▒░▓█ ██▓▒▓█ ▄ ▒██▀▀█▄
▒▀█░ ░▒████▒░██████▒░ ████▓▒░ ▒██▒ ░ ░░██░▒██░ ▓██░░▒▓███▀▒░▒████▒░██▓ ▒██▒
░ ▐░ ░░ ▒░ ░░ ▒░▓ ░░ ▒░▒░▒░ ▒▓▒░ ░ ░░▓ ░ ▒░ ▒ ▒ ░▒ ▒ ░░ ▒░ ░░ ▒▓ ░▒▓░
░ ░░ ░ ░ ░░ ░ ▒ ░ ░ ▒ ▒░ ░▒ ░ ▒ ░░ ░░ ░ ▒░ ░ ░ ░ ░ ░ ░▒ ░ ▒░
░░ ░ ░ ░ ░ ░ ░ ▒ ░░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ {Style.RESET_ALL}""")
print(" ")
print(" ")
enter_ip = input(f'{Fore.RED} The IP that you want to ping! : ')
os.system('cls')
print(f"""{Fore.MAGENTA}
██▒ █▓▓█████ ██▓ ▒█████ ██▓███ ██▓ ███▄ █ ▄████ ▓█████ ██▀███
▓██░ █▒▓█ ▀ ▓██▒ ▒██▒ ██▒ ▓██░ ██▒▓██▒ ██ ▀█ █ ██▒ ▀█▒▓█ ▀ ▓██ ▒ ██▒
▓██ █▒░▒███ ▒██░ ▒██░ ██▒ ▓██░ ██▓▒▒██▒▓██ ▀█ ██▒▒██░▄▄▄░▒███ ▓██ ░▄█ ▒
▒██ █░░▒▓█ ▄ ▒██░ ▒██ ██░ ▒██▄█▓▒ ▒░██░▓██▒ ▐▌██▒░▓█ ██▓▒▓█ ▄ ▒██▀▀█▄
▒▀█░ ░▒████▒░██████▒░ ████▓▒░ ▒██▒ ░ ░░██░▒██░ ▓██░░▒▓███▀▒░▒████▒░██▓ ▒██▒
░ ▐░ ░░ ▒░ ░░ ▒░▓ ░░ ▒░▒░▒░ ▒▓▒░ ░ ░░▓ ░ ▒░ ▒ ▒ ░▒ ▒ ░░ ▒░ ░░ ▒▓ ░▒▓░
░ ░░ ░ ░ ░░ ░ ▒ ░ ░ ▒ ▒░ ░▒ ░ ▒ ░░ ░░ ░ ▒░ ░ ░ ░ ░ ░ ░▒ ░ ▒░
░░ ░ ░ ░ ░ ░ ░ ▒ ░░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ {Style.RESET_ALL}""")
print(" ")
print(f'{Fore.RED}')
os.system('ping -t {}'.format(enter_ip))