Sha256: e6fb439d9f7572248cb696a352b2d967b6dd5923c0c8f4afa58929910774e3cf

Contents?: true

Size: 1.29 KB

Versions: 31

Compression:

Stored size: 1.29 KB

Contents

module RubySMB
  module Dcerpc
    module Svcctl

      # [3.1.4.12 RCreateServiceW (Opnum 12)](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-scmr/6a8ca926-9477-4dd4-b766-692fab07227e)
      class CreateServiceWRequest < BinData::Record
        attr_reader :opnum

        endian :little

        sc_rpc_handle             :h_sc_object
        ndr_conf_var_wide_stringz :lp_service_name
        ndr_wide_stringz_ptr      :lp_display_name
        ndr_uint32                :dw_desired_access
        ndr_uint32                :dw_service_type
        ndr_uint32                :dw_start_type
        ndr_uint32                :dw_error_control
        ndr_conf_var_wide_stringz :lp_binary_path_name
        ndr_wide_stringz_ptr      :lp_load_order_group
        ndr_uint32_ptr            :lp_dw_tag_id
        svcctl_byte_array_ptr     :lp_dependencies, type: :ndr_uint8
        ndr_uint32                :dw_depend_size, initial_value: -> { lp_dependencies.size }
        ndr_wide_stringz_ptr      :lp_service_start_name
        svcctl_byte_array_ptr     :lp_password, type: :ndr_uint8
        ndr_uint32                :dw_pw_size, initial_value: -> { lp_password.size }

        def initialize_instance
          super
          @opnum = CREATE_SERVICE_W
        end
      end

    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
ruby_smb-3.3.13 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.12 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.11 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.10 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.9 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.7 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.6 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.5 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.4 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.3 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.2 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.1 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.3.0 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.2.8 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.2.7 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.2.6 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.2.5 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.2.4 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.2.3 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb
ruby_smb-3.2.2 lib/ruby_smb/dcerpc/svcctl/create_service_w_request.rb