metasploit-framework
metasploit-framework copied to clipboard
Typo in zsh completion file _msfvenom causes error on --arch completion
Issue
There is a typo in /external/zsh/_msfvenom on line 234.
{-a,--arch}"[The architecture to use for --payload and --encoders (use --list archs to list)]:architecture:_msfvenom_archs" \
should be
{-a,--arch}"[The architecture to use for --payload and --encoders (use --list archs to list)]:architecture:_msfvenom_arch" \
This causes the lookup to fail.
Steps to reproduce
- Enable the ZSH completion script for msfvenom
- Type
msfvenom --arch
and hit tab - ??
- No profit.
Expected behavior
I'm presented with a list to pick from
Current behavior
msfvenom --arch …_msfvenom_archs: command not found
_msfvenom_archs: command not found
_msfvenom_archs: command not found
Yup, I was able to reproduce this. I'll get a fix submitted shortly.