Metasploit: Couldn't Load Module
I downloaded this module from https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/joomla_http_header_rce.rb , added it to /usr/share/metasploit-framework/modules/exploits/multi/http/ and when I ran "msfconsole" I got an error saying "- WARNING! The following modules could not be loaded!
/opt/metasploit/apps/pro/msf3/modules/exploits/multi/http/joomlahttpheaderrce.rb: NameError uninitialized constant Msf::Exploit::Remote::HTTP". How can I successfully add this module???
P.S. i tried copying it to /root/.msf4/modules/exploits too but same error.