Skip to content

Commit

Permalink
Merge pull request Veil-Framework#469 from anoncodeinc/master
Browse files Browse the repository at this point in the history
Fix for cli processing of --msfoptions
  • Loading branch information
ChrisTruncer authored May 20, 2022
2 parents c825577 + 51102f6 commit d4dd4ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/evasion/evasion_common/shellcode_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,7 @@ def cli_msf_shellcode_gen(command_line_args):
# Parse extra flags to be included in msfvenom command
extra_options = ""
if command_line_args.msfoptions is not None:
num_extra_options = command_line_args.msfoptions.split(' ')
for xtra_opt in num_extra_options:
for xtra_opt in command_line_args.msfoptions:
if xtra_opt != '':
if "=" not in xtra_opt:
print(helpers.color(" [!] Parameter not entered in correct syntax.\n", warning=True))
Expand Down

0 comments on commit d4dd4ff

Please sign in to comment.