Skip to content

Commit

Permalink
Merge pull request trustedsec#170 from cvtgreat/master
Browse files Browse the repository at this point in the history
Bugfix for help menu
  • Loading branch information
HackingDave authored Jan 24, 2024
2 parents 80a37eb + 4ca6494 commit 7f46d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unicorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -1228,7 +1228,7 @@ def ms_voodoo_stuff():
help_options = ["-h","--help"]

if len(sys.argv) > 2:
if sys.argv[2] in payload_options:
if sys.argv[2] in payload_options and sys.argv[1] in help_options:
# Show help for specific payload options
if sys.argv[2] == "powershell":
ps_help()
Expand Down

0 comments on commit 7f46d0a

Please sign in to comment.