Skip to content

It is not supported SAMR? #15

@fengyingkong

Description

@fengyingkong

I'm doing a windows into the domain operation, the process needs to create samr path, and found that the reported error.

the logs:
[T4:1] IPC$ Request [1] - cmd = 0xa2
[T4:1] NT Create AndX [1] name=\samr, flags=0x10, attr=0x0, allocSize=0

the code as below:

`package org.filesys.smb.dcerpc.server;

import org.filesys.smb.dcerpc.DCEPipeType;

/**

  • DCE Pipe Handler Class

  • Contains a list of the available DCE pipe handlers.

  • @author gkspencer
    */
    public class DCEPipeHandler {

    // DCE/RPC pipe request handlers
    private static DCEHandler[] _handlers = {
    new SrvsvcDCEHandler(),
    null, // samr
    null, // winreg
    new WkssvcDCEHandler(),
    null, // NETLOGON
    null, // lsarpc
    null, // spoolss
    null, // netdfs
    null, // service control
    null, // eventlog
    null // netlogon1
    };

    /**

    • Return the DCE/RPC request handler for the pipe type

    • @param typ DCEPipeType

    • @return DCEHandler
      */
      public final static DCEHandler getHandlerForType(DCEPipeType typ) {
      int ival = typ.intValue();

      if (ival >= 0 && ival < _handlers.length)
      return _handlers[ival];
      return null;
      }
      }
      `

It is meant to be unsupported samr and NETLOGON?not finished yet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions