Metasploit mailing list archives
Adding a new exploit
From: hdm at metasploit.com (H D Moore)
Date: Sat, 16 Feb 2008 13:08:42 -0600
Make sure the class names of the exploits match the directory where they are stored. You can look at the framework.log file for any error messages related to the module. For example, you might see "module loaded but no new classes found", which indicates a bad class name or location. Keep in mind that in 3.0 and 3.1, you can store your own modules in the .msf3/modules/(type)/(path)/name.rb format. If my exploit had the class name Exploit::Windows::Browser::EvilExploit Then it could be stored in: framework-root/modules/exploits/windows/browser/evilexploit.rb or ~/.msf3/modules/exploits/windows/browser/evilexploit.rb Hope this helps, -HD On Saturday 16 February 2008, Trancer wrote:
Recently I preformed some pen-tests and wrote new exploit modules for Metasploit. When I try to add these exploits to the framework it won't display them in the console. Note that the problem occurred after I upgrade to v3.1
Current thread:
- Adding a new exploit Trancer (Feb 16)
- Adding a new exploit H D Moore (Feb 16)