moved things around
git-svn-id: file:///home/svn/framework3/trunk@4668 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
b4e48c969a
commit
313cd4c03c
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
Binary file not shown.
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue