Skip to content

Commit df0e293

Browse files
author
ekultek
committed
editing the results, no hardcoded '*'s now, they have their own variable
1 parent f61b4fe commit df0e293

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/exploitation/exploiter.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,10 @@ def sort_modules_by_query(self):
6262
self.sorted_modules.append(mod)
6363
return self.sorted_modules
6464

65-
def start_exploit(self):
65+
def start_exploit(self, sep="*" * 10):
6666
"""
6767
start the exploit, there is still no rollover but it's being worked
6868
"""
69-
# TODO:/ fix the rollover issue here
70-
7169
today_printable = datetime.datetime.today().strftime("%Y-%m-%d_%Hh%Mm%Ss")
7270
current_run_path = path.join(lib.settings.RC_SCRIPTS_PATH, today_printable)
7371
makedirs(current_run_path)
@@ -181,7 +179,7 @@ def start_exploit(self):
181179
linesep.join(msf_output_lines)])
182180

183181
print()
184-
lib.output.info("********RESULTS**********")
182+
lib.output.info("{}RESULTS{}".format(sep, sep))
185183

186184
if self.dry_run:
187185
lib.output.info("\tDRY RUN!")

0 commit comments

Comments
 (0)