moved things around

git-svn-id: file:///home/svn/framework3/trunk@4668 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Matt Miller 2007-04-13 04:07:22 +00:00
parent b4e48c969a
commit 313cd4c03c
7 changed files with 53 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@ -0,0 +1,19 @@
module Msf
class Auxiliary::BhAux < Msf::Auxiliary
def initialize
super(
'Name' => "BlackHat Training Auxiliary Module",
'Description' => "Example Auxiliary Module",
'Author' => "skape",
'License' => MSF_LICENSE)
end
def run
print_status("Inside run...")
end
end
end

View File

@ -0,0 +1,22 @@
module Msf
module Encoders
class BlackHatEncoder < Msf::Encoder
def initialize
super(
'Name' => 'BlackHat Example Encoder',
'Version' => '$Revision: 3154 $',
'Description' => %q{
Sample encoder that just returns the block it's passed
when encoding occurs.
},
'Author' => 'skape',
'Arch' => ARCH_ALL)
end
def encode_block(state, buf)
buf
end
end ;end ;end

View File

@ -0,0 +1,12 @@
module Msf
class Plugin::Bob < Msf::Plugin
module BobExtension
def bob
"bob"
end
end
def initialize(framework, options)
framework.extend(BobExtension)
end
end
end