forked from rapid7/metasploit-framework
-
Notifications
You must be signed in to change notification settings - Fork 2
Metasploit module reference identifiers
sinn3r edited this page Jun 11, 2016
·
7 revisions
A reference in a Metasploit module is a source of information related to the module. This can be a link to the vulnerability advisory, a news article, a blog post about a specific technique the module uses, a specific tweet, etc. The more you have the better. However, you should not use this as a form of advertisement.
ID | Source | Code Example |
---|---|---|
CVE | cvedetails.com | ['CVE', '2014-9999'] |
CWE | cwe.mitre.org | ['CWE', '90'] |
BID | securityfocus.com | ['BID', '1234'] |
MSB | technet.microsoft.com | ['MSB', 'MS13-055'] |
EDB | exploit-db.com | ['EDB', '1337'] |
US-CERT-VU | kb.cert.org | ['US-CERT-VU', '800113'] |
ZDI | zerodayinitiative.com | ['ZDI', '10-123'] |
WPVDB | wpvulndb.com | ['WPVDB', '7615'] |
PACKETSTORM | packetstormsecurity.com | ['PACKETSTORM', '132721'] |
URL | anything | ['URL', 'http://example.com/blog.php?id=123'] |
require 'msf/core'
class MetasploitModule < Msf::Exploit::Remote
Rank = NormalRanking
def initialize(info={})
super(update_info(info,
'Name' => "Code Example",
'Description' => %q{
This is an example of a module using references
},
'License' => MSF_LICENSE,
'Author' => [ 'Unknown' ],
'References' =>
[
[ 'CVE', '2014-9999' ],
['BID', '1234'],
['URL', 'http://example.com/blog.php?id=123']
],
'Platform' => 'win',
'Targets' =>
[
[ 'Example', { 'Ret' => 0x41414141 } ]
],
'Payload' =>
{
'BadChars' => "\x00"
},
'Privileged' => false,
'DisclosureDate' => "Apr 1 2014",
'DefaultTarget' => 0))
end
def exploit
print_debug('Hello, world')
end
end
- Home Welcome to Metasploit!
- Using Metasploit A collection of useful links for penetration testers.
-
Setting Up a Metasploit Development Environment From
apt-get install
togit push
. - CONTIBUTING.md What should your contributions look like?
- Landing Pull Requests Working with other people's contributions.
- Using Git All about Git and GitHub.
- Contributing to Metasploit Be a part of our open source community.
- Meterpreter All about the Meterpreter payload.