Vulnerability::Output specs

This commit is contained in:
erwanlr
2013-03-22 18:25:17 +01:00
parent af4ecc4084
commit d937b20d79
5 changed files with 36 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ class Vulnerability
end
end
# @return [ String ] The url to the metasploit module page
def self.metasploit_module_url(module_path)
# remove leading slash
module_path = module_path.sub(/^\//, '')