2015-01-06 00:52:13 +00:00
|
|
|
# -*- coding: binary -*-
|
|
|
|
|
|
|
|
module Rex
|
|
|
|
module Proto
|
|
|
|
module Rmi
|
|
|
|
module Model
|
|
|
|
SIGNATURE = 'JRMI'
|
|
|
|
STREAM_PROTOCOL = 0x4b
|
|
|
|
SINGLE_OP_PROTOCOL = 0x4c
|
|
|
|
MULTIPLEX_PROTOCOL = 0x4d
|
|
|
|
CALL_MESSAGE = 0x50
|
|
|
|
PING_MESSAGE = 0x52
|
2015-01-13 16:45:00 +00:00
|
|
|
DGC_ACK_MESSAGE = 0x54
|
2015-01-06 00:52:13 +00:00
|
|
|
PROTOCOL_ACK = 0x4e
|
|
|
|
PROTOCOL_NOT_SUPPORTED = 0x4f
|
|
|
|
RETURN_DATA = 0x51
|
|
|
|
PING_ACK = 0x53
|
2015-03-17 22:15:32 +00:00
|
|
|
RETURN_VALUE = 1
|
|
|
|
RETURN_EXCEPTION = 2
|
2015-01-06 00:52:13 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
require 'rex/proto/rmi/model/element'
|
2015-01-06 06:14:14 +00:00
|
|
|
require 'rex/proto/rmi/model/output_header'
|
2015-01-06 17:34:47 +00:00
|
|
|
require 'rex/proto/rmi/model/protocol_ack'
|
2015-01-06 18:36:06 +00:00
|
|
|
require 'rex/proto/rmi/model/continuation'
|
2015-03-17 22:15:32 +00:00
|
|
|
require 'rex/proto/rmi/model/unique_identifier'
|
|
|
|
require 'rex/proto/rmi/model/call_data'
|
2015-01-06 18:52:00 +00:00
|
|
|
require 'rex/proto/rmi/model/call'
|
2015-03-17 22:15:32 +00:00
|
|
|
require 'rex/proto/rmi/model/return_value'
|
2015-01-06 21:00:17 +00:00
|
|
|
require 'rex/proto/rmi/model/return_data'
|
2015-01-13 16:45:00 +00:00
|
|
|
require 'rex/proto/rmi/model/dgc_ack'
|
2015-01-06 21:18:55 +00:00
|
|
|
require 'rex/proto/rmi/model/ping'
|
|
|
|
require 'rex/proto/rmi/model/ping_ack'
|