DO NOT DEAL WITH THIS MEMBER
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?
DO NOT DEAL WITH THIS MEMBER
Did you make this exploit yourself or is it from somewhere else?
DO NOT DEAL WITH THIS MEMBER
You need to post the error here so we can further discuss
DO NOT DEAL WITH THIS MEMBER
try to cd the exploit folder then call builder.py with sudo
DO NOT DEAL WITH THIS MEMBER
Oct 28, 2016 12:27 AM
(This post was last modified: Oct 28, 2016 12:28 AM by Glyco.)
(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 sudo I never tried that method, but how would I type it out
DO NOT DEAL WITH THIS MEMBER
(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
DO NOT DEAL WITH THIS MEMBER
(Oct 28, 2016 12:27 AM)Glyco Wrote: I got it from somewhere else. its a silent doc exploit
I never tried that method, but how would I type it out
Have you installed python ??
DO NOT DEAL WITH THIS MEMBER
(Oct 28, 2016 12:21 AM)Jollibee Wrote: You need to post the error here so we can further discuss msf > use .msf4/module/exploits/Builder.py
[-] Failed to load module: .msf4/module/exploits/Builder.py
msf >
DO NOT DEAL WITH THIS MEMBER
Hope you get this fixed bro
OP get python installed and use command prompt to run it
#c/c++# & #asm#
The way to patch bad code is to remove the bad code, not to add new bad code that hides the old bad code
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.
DO NOT DEAL WITH THIS MEMBER
(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.
Just use Kali. So much more convenient :d
Oct 30, 2016 09:23 AM
(This post was last modified: Oct 30, 2016 09:30 AM by Asdethprime.)
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
it happens to me too. Whenever I want to open an exploit module it says "Failed to load module".
|