![]() |
|
Failed to Load module metasploit framework - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Whitehat • Blue Team • Defensive Security (https://hackforums.net/forumdisplay.php?fid=448) +---- Forum: Pentesting and Forensics (https://hackforums.net/forumdisplay.php?fid=231) +---- Thread: Failed to Load module metasploit framework (/showthread.php?tid=5446454) Pages: Pages
1
2
|
Failed to Load module metasploit framework - Glyco - Oct 28, 2016 I am trying to load my exploit I have its in .py its saved on /.msf4/modules/exploit/Builder.py but when I "use /.msf4/modules/exploit/Builder.py It give me me a failed to load modules error any help? * - Mr. Robot - Oct 28, 2016 Did you make this exploit yourself or is it from somewhere else? * - Jollibee - Oct 28, 2016 You need to post the error here so we can further discuss * - JustSmile ツ - Oct 28, 2016 try to cd the exploit folder then call builder.py with sudo * - Glyco - Oct 28, 2016 (Oct 28, 2016 12:20 AM)Mr. Robot Wrote: Did you make this exploit yourself or is it from somewhere else?I got it from somewhere else. its a silent doc exploit (Oct 28, 2016 12:22 AM)JustSmile ツ Wrote: try to cd the exploit folder then call builder.py with sudoI never tried that method, but how would I type it out * - Mr. Robot - Oct 28, 2016 (Oct 28, 2016 12:27 AM)Glyco Wrote: I got it from somewhere else. its a silent doc exploit Oh god, uh from youtube? lol Are you sure you need to run it in metasploit? It should just run as a normal .py Try python ./builder.py * - JustSmile ツ - Oct 28, 2016 (Oct 28, 2016 12:27 AM)Glyco Wrote: I got it from somewhere else. its a silent doc exploit Have you installed python ?? * - Glyco - Oct 28, 2016 (Oct 28, 2016 12:21 AM)$.each Wrote: You need to post the error here so we can further discussmsf > use .msf4/module/exploits/Builder.py [-] Failed to load module: .msf4/module/exploits/Builder.py msf > * - The Radar is High - Oct 28, 2016 Hope you get this fixed bro * - HiddenEyE - Oct 28, 2016 OP get python installed and use command prompt to run it * - Ganzthe3 - Oct 28, 2016 Metasploit modules are in ruby. That python script is most likely not a metasploit module and therefore cannot be run by metasploit. Run it with python. * - Glyco - Oct 28, 2016 (Oct 28, 2016 05:43 PM)Ganzthe3 Wrote: Metasploit modules are in ruby. That python script is most likely not a metasploit module and therefore cannot be run by metasploit. Run it with python.But what I am trying to do is replace the shell code on the doc exploit on metasploit. * - cryptking - Oct 29, 2016 Just use Kali. So much more convenient :d * - Asdethprime - Oct 30, 2016 Hi Glyco, The module you are trying to load is .py a python script. Metasploit is created using Ruby and designed to run ruby(.rb) scripts rather than python. So you are going to have a problems. You can try the following options: msf> load python msf> python_import -f <file path to your python exploit> Remember, since metasploit is designed to run with ruby and until November 2015 it did not support python modules; you might have problem. If this does not work you might either: 1) Run python as a stand alone script 2) Use proxychains-ng but edit configuration for it to go through your metasploit IP as opposed to the default TOR 3) Try changing the code to your exploit into ruby. Hope this helps, AsdethPrime RE: Failed to Load module metasploit framework - thecowmilk - Mar 10, 2019 it happens to me too. Whenever I want to open an exploit module it says "Failed to load module". |