Metasploit msfvenom Bash Completions Generator
- Copy the file into metasploit installation path
- Run: ruby msfvenom-bc-generator.rb
- File /etc/bash_completion.d/msfvenom will be created
- Download
git clone https://github.com/nopernik/msfvenom-bc-generator.git
cd msfvenom-bc-generator/
- Now locate the metasploit installation path
locate msfvenom
- Take note of the file path
/.../metasploit-framework/msfvenom
- Copy and run
sudo cp msfvenom_bc_generator.rb /usr/share/metasploit-framework/
cd /usr/share/metasploit-framework/
sudo ruby msfvenom_bc_generator.rb
- Enjoy
Open a new terminal and type msfvenom TABTAB :)
- Arch edition
git clone https://github.com/Intek13x/msfvenom-bash-completion
cd msfvenom-bash-completion/
sudo cp -v msfvenom_bc_arch.rb /opt/metasploit/
cd /opt/metasploit/
sudo ruby msfvenom-bc_arch.rb