Skip to content

Commit

Permalink
fix #42
Browse files Browse the repository at this point in the history
  • Loading branch information
jm33-m0 committed Jun 6, 2020
1 parent e7defb1 commit e625e9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/cli/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def run_target(**kwargs):
return

if target not in os.listdir(session.init_dir + '/data'):
console.print_error("[-] Target list file not found")
console.print_error(f"[-] Target list file '{target}' not found")

return
colors.colored_print(
Expand Down Expand Up @@ -508,7 +508,7 @@ def cmd_handler(session, user_cmd):

# parse user_cmd
try:
split_cmd = str(user_cmd).lower().strip().split()
split_cmd = str(user_cmd).strip().split()
user_cmd = split_cmd[0]
args = split_cmd[1:]
except IndexError:
Expand Down
4 changes: 2 additions & 2 deletions lib/cli/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def print_banner(ver, exp_cnt):
version: {ver}
{exp_cnt} exploits
''' + colors.END + colors.GREEN + f'''
''' + colors.END + colors.GREEN + '''
by jm33_m0
https://github.com/jm33-m0/mec
Expand Down Expand Up @@ -147,7 +147,7 @@ def input_check(prompt_info, allow_blank=True,
message=input_ps,
complete_in_thread=True,
complete_while_typing=True,
completer=choice_completer).strip().lower()
completer=choice_completer).strip()

if not allow_blank and user_input == '':
continue
Expand Down

0 comments on commit e625e9e

Please sign in to comment.