Module: Msf::Payload::Netware

Defined in:
lib/msf/core/payload/netware.rb

Overview

This class is here to implement advanced features for netware-based payloads. NetWare payloads are expected to include this module if they want to support these features.

Instance Method Summary collapse

Instance Method Details

#compatible_encodersObject

Returns a list of compatible encoders based on architecture fnstenv does not work on NetWare



21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/msf/core/payload/netware.rb', line 21

def compatible_encoders
  encoders = super()
  encoders2 = []

  encoders.each { |encname, encmod|
    if (!encname.include?('fnstenv_mov') && !encname.include?('shikata_ga_nai'))
      encoders2 << [ encname, encmod ]
    end
  }

  return encoders2;
end

#initialize(info = {}) ⇒ Object



13
14
15
# File 'lib/msf/core/payload/netware.rb', line 13

def initialize(info = {})
  ret = super(info)
end