Skip to content

Commit 979e100

Browse files
author
ekultek
committed
minor update to a comment
1 parent 90254ac commit 979e100

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

lib/banner.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os
12
import random
23

34
VERSION = "2.0"
@@ -8,9 +9,9 @@ def banner_1(line_sep="#--", space=" " * 30):
89
{sep1}Author : Vector/NullArray | _ |_ _| |_ ___| __|___| |___|_| |_
910
{sep1}Twitter: @Real__Vector | | | | _| . |__ | . | | . | | _|
1011
{sep1}Type : Mass Exploiter |__|__|___|_| |___|_____| _|_|___|_|_|
11-
{sep1}Version: {v_num} |_|
12+
{sep1}Version: {v_num}{spacer} |_|
1213
##############################################\033[0m
13-
""".format(sep1=line_sep, v_num=VERSION, space_sep=space)
14+
""".format(sep1=line_sep, v_num=VERSION, space_sep=space, spacer=" " * 8)
1415
return banner
1516

1617

@@ -114,4 +115,15 @@ def banner_main():
114115
banner_5, banner_4,
115116
banner_3, banner_2, banner_1
116117
]
117-
return random.choice(banners)()
118+
if os.getenv("Graffiti", False):
119+
return banner_5()
120+
elif os.getenv("AutosploitOG", False):
121+
return banner_1()
122+
elif os.getenv("Nuclear", False):
123+
return banner_4()
124+
elif os.getenv("SploitaSaurusRex", False):
125+
return banner_3()
126+
elif os.getenv("Autosploit2", False):
127+
return banner_2()
128+
else:
129+
return random.choice(banners)()

lib/cmdline/cmd.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ def __init__(self):
1919

2020
@staticmethod
2121
def optparser():
22+
2223
"""
23-
the options object for our parser
24+
the options function for our parser, it will put everything into play
2425
"""
26+
2527
parser = argparse.ArgumentParser(
2628
usage="python autosploit.py -[c|z|s|a] -[q] QUERY\n"
2729
"{spacer}[-C] WORKSPACE LHOST LPORT [-e]\n"

0 commit comments

Comments
 (0)