Skip to content

Commit ba39cb9

Browse files
author
ekultek
committed
changed all the output to new favorable output
1 parent 8e50ad6 commit ba39cb9

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

lib/jsonize.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
import string
44
import random
55

6-
7-
import blessings
8-
9-
t = blessings.Terminal()
6+
import lib.output
7+
import lib.settings
108

119

1210
def random_file_name(acceptable=string.ascii_letters, length=7):
@@ -31,11 +29,10 @@ def load_exploits(path, node="exploits"):
3129
retval = []
3230
file_list = os.listdir(path)
3331
if len(file_list) != 1:
34-
print("\n[{}] total of {} files discovered select one".format(
35-
t.green("+"), len(file_list)))
32+
lib.output.info("total of {} exploit files discovered for use, select one".format(len(file_list)))
3633
for i, f in enumerate(file_list, start=1):
3734
print("{}. {}".format(i, f[:-5]))
38-
action = raw_input("\n<" + t.cyan("AUTOSPLOIT") + ">$ ")
35+
action = raw_input(lib.settings.AUTOSPLOIT_PROMPT)
3936
selected_file = file_list[int(action) - 1]
4037
else:
4138
selected_file = file_list[0]

0 commit comments

Comments
 (0)