-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.py
More file actions
28 lines (23 loc) · 1.03 KB
/
config.py
File metadata and controls
28 lines (23 loc) · 1.03 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
from colorama import Fore, Style, init
from datetime import datetime
init(autoreset=True)
def color_tag(text):
colors = {
'[info]': Fore.BLUE + '[info]' + Style.RESET_ALL,
'[WAR]': Fore.YELLOW + '[WAR]' + Style.RESET_ALL,
'[ERROR]': Fore.RED + '[ERROR]' + Style.RESET_ALL,
'[Finding]': Fore.GREEN + '[Finding]' + Style.RESET_ALL,
'[logo]': Fore.CYAN + LOGO + Style.RESET_ALL,
}
return colors.get(text, text)
LOGO = r"""
▗▖ ▗▖▗▄▄▄▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖
▐▛▚▞▜▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▝▚▞▘ ▐▌
▐▌ ▐▌▐▛▀▀▘▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘ ▐▌ ▐▛▀▀▘
▐▌ ▐▌▐▙▄▄▖▝▚▄▞▘▐▙█▟▌▐▙▄▄▖ ▐▌ ▐▙▄▄▖
Coded By: Eslam Akl
Blog: eslam3kl.gitbook.io
Thanks to ChatGPT
"""
today_str = datetime.now().strftime("%d%m%Y")
OUTPUT_FILE = f"{today_str}-output.txt"