Added a mainframe.rb in core/payload

Base module for payloads to be developed on the mainframe / SystemZ
(z/os mvs) architecture
bug/bundler_fix
bigendian smalls 2015-09-28 10:06:09 -05:00
parent ecf6867c35
commit ff87fbc976
No known key found for this signature in database
GPG Key ID: 59B4F1951D086E18
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# -*- coding: binary -*-
require 'msf/core'
###
#
# This class is here to implement advanced features for mainframe based
# payloads. Mainframe payloads are expected to include this module if
# they want to support these features.
#
###
module Msf::Payload::Mainframe
#
# Z notes
# Z notes
#
def initialize(info = {})
ret = super(info)
end
#
# Returns a list of compatible encoders based on mainframe architecture
# most will not work because of the different architecture
# an XOR-based encoder will be defined soon
#
def compatible_encoders
encoders = super()
encoders2 = ['/generic\/none/','none']
return encoders2
end
end