/
banner.py
32 lines (25 loc) · 1.18 KB
/
banner.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
import time
from colorama import Fore, Style
from lib import __version__ as version
class Banner:
r = Fore.RED
y = Fore.YELLOW
ny = Fore.YELLOW
nw = Fore.WHITE
g = Fore.GREEN
e = Style.RESET_ALL
def banner(self):
print(self.ny + " ______ _ _ _ " + self.e)
print(self.ny + " / _____|_) _ | | | | " + self.e)
print(self.ny + "( (____ _ _| |_ _____ __| |_____| | " + self.e)
print(self.ny + " \____ \| (_ _|____ |/ _ | ___ | | " + self.e)
print(self.ny + " _____) ) | | |_/ ___ ( (_| | ____| | " + self.e)
print(self.ny + "(______/|_| \__)_____|\____|_____)\_)" + self.r + version + "\n" + self.e)
print(self.g + "~/#" + self.e + " Sitadel - Web Application Security Scanner" + self.e)
print(self.g + "~/#" + self.e + " Shenril (@shenril)" + self.e)
print(self.g + "~/#" + self.e + " https://github.com/shenril/Sitadel\n" + self.e)
def preamble(self, url):
print('URL: %s' % url)
print('Started: %s' % (time.strftime('%d/%m/%Y %H:%M:%S')))
def version(self):
return self.g + "~/#" + self.e + " Sitadel (" + version + ")\n"