Files
metasploit-gs/dev/materials/msf3_internals_training/examples/plugins/bob_plugin.rb
T

13 lines
176 B
Ruby
Raw Normal View History

2007-04-13 04:07:22 +00:00
module Msf
class Plugin::Bob < Msf::Plugin
module BobExtension
def bob
"bob"
end
end
def initialize(framework, options)
framework.extend(BobExtension)
end
end
end