Files
metasploit-gs/lib/msf/core/payload/hardware.rb
T
Craig Smith 5f07bca775 Hardware Bridge API. Initial bridge API that supports the HW rest protocol specified here:
http://opengarages.org/hwbridge  Supports an automotive extension with UDS calls for mdoule
development.
2017-01-06 19:51:41 -08:00

25 lines
601 B
Ruby

# -*- coding: binary -*-
require 'msf/core'
###
# This class is here to implement advanced features for hardware bridged
# payloads. HWBridge payloads are expected to include this module if
# they want to support these features.
###
module Msf::Payload::Hardware
def initialize(info = {})
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
encoders2 = ['/generic\/none/', 'none']
encoders2
end
end