-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathbanner.py
59 lines (55 loc) · 1.88 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
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
# author : X-Vector
# Tested on Kali Linux / Parrot Os / Ubuntu
# Simple script for RSA Attack
import sys
import platform,os
from platform import system
import time
def slowprint(s):
for c in s + '\n':
sys.stdout.write(c)
sys.stdout.flush()
time.sleep(4. / 100)
clear = ""
if "Windows" in platform.system():
clear = "cls"
if "Linux" in platform.system():
clear = "clear"
os.system(clear)
is_windows = sys.platform.startswith('win')
# Windows deserves coloring too :D
G = '\033[92m' # green
Y = '\033[93m' # yellow
B = '\033[94m' # blue
R = '\033[91m' # red
W = '\033[0m' # white
# Console Colors
if is_windows:
try:
import win_unicode_console , colorama
win_unicode_console.enable()
colorama.init()
#Now the unicode will work ^_^
except:
print("[!] Error: Coloring libraries not installed, no coloring will be used")
G = Y = B = R = W = G = Y = B = R = W = ''
def banner():
print("""%s
_____ ________________ _____ _____
\ \ / /\ \ _____\ \ / |_
\ | | / \ /\ \ / / \ | / \\
\ \ / / | \_\ | | | /___/|| /\ \\
\ | / | ___/ ____\ \ | ||| | | \\
/ | \ | \ ____ / /\ \|___|/| \/ \\
/ /|\ \ / /\ \/ \| |/ \ \ |\ /\ \\
|____|/ \|____| /_____/ |\______||\____\ /____/| | \_____\ \_____\\
| | | | | | | | || | || | | | | | | |
|____| |____| |_____|/ \|_____| \|___||____|/ \|_____|\|_____|
%s%s
[ Version : 0.4 ]\033[92m
[ Author : X-Vector ]\033[96m
[ Github : github.com/X-Vector ]\033[93m
[ Twitter : twitter.com/@XVector11 ]\033[95m
[ Facebook: facebook.com/X.Vector1 ]\033[95m
[ GreeteZ : Karem Ali ]\033[94m
""" % (R, W,R))