all for the crabbot

git-svn-id: file:///home/svn/incoming/trunk@2716 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Spoon M 2005-07-10 23:38:50 +00:00
parent 0ecb59bca1
commit a20d99dd4f
1 changed files with 7 additions and 0 deletions

View File

@ -65,6 +65,13 @@ class Msf::Module::PlatformList
platforms.map { |m| m.name.split('::')[3 .. -1].join(' ') }
end
def all?
names.each do |name|
return true if name == ''
end
return false
end
# Do I support plist (do I support all of they support?)
# use for matching say, an exploit and a payload
def supports?(plist)