Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for DcerpcHandle (0.15 sec)

  1. src/test/java/jcifs/smb/SIDCacheImplTest.java

            }
        }
    
        @Test
        @DisplayName("resolveSids(DcerpcHandle,...) populates acct, domain and type for known types")
        void resolveSids_populatesFields_happyPath() throws Exception {
            SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));
            DcerpcHandle handle = mock(DcerpcHandle.class);
            LsaPolicyHandle policy = mock(LsaPolicyHandle.class);
    
            // Prepare input SIDs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    import java.io.IOException;
    
    import jcifs.smb1.dcerpc.DcerpcHandle;
    import jcifs.smb1.dcerpc.rpc;
    import jcifs.smb1.smb1.SmbException;
    
    /**
     * LSA policy handle for Local Security Authority operations.
     */
    public class LsaPolicyHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
         * Constructs an LSA policy handle.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc.msrpc;
    
    import java.io.IOException;
    
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.rpc;
    import jcifs.smb.SmbException;
    
    /**
     * Handle for Security Account Manager (SAM) domain operations.
     * This class represents an open handle to a SAM domain and provides
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

        /**
         *
         */
        private SmbEnumerationUtil() {
        }
    
        private static DcerpcHandle getHandle(final CIFSContext ctx, final SmbResourceLocator loc, final Address address, final String ep)
                throws MalformedURLException, DcerpcException {
            return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()),
                    ctx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SID.java

        static void resolveSids0(final String authorityServerName, final NtlmPasswordAuthentication auth, final SID[] sids) throws IOException {
            DcerpcHandle handle = null;
            LsaPolicyHandle policyHandle = null;
    
            synchronized (sid_cache) {
                try {
                    handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\lsarpc]", auth);
                    String server = authorityServerName;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    import java.io.IOException;
    
    import jcifs.smb1.dcerpc.DcerpcHandle;
    import jcifs.smb1.dcerpc.rpc;
    import jcifs.smb1.smb1.SmbException;
    
    /**
     * Handle for Security Account Manager (SAM) domain operations.
     * This class represents an open handle to a SAM domain and provides
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

    import jcifs.smb1.dcerpc.DcerpcHandle;
    import jcifs.smb1.dcerpc.rpc;
    import jcifs.smb1.smb1.SmbException;
    
    /**
     * Handle for Security Account Manager (SAM) policy operations.
     * This class represents an open handle to a SAM server and provides
     * high-level access to SAM database operations.
     */
    public class SamrPolicyHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.smb.SmbException;
    
    @ExtendWith(MockitoExtension.class)
    class LsaPolicyHandleTest {
    
        @Mock
        private DcerpcHandle mockDcerpcHandle;
    
        // Mocking MsrpcLsarOpenPolicy2 and MsrpcLsarClose is tricky because they are created inside the constructor/method.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

    import jcifs.smb1.smb1.SmbNamedPipe;
    import jcifs.smb1.util.Encdec;
    
    /**
     * DCERPC handle implementation using SMB named pipes for transport
     */
    public class DcerpcPipeHandle extends DcerpcHandle {
    
        SmbNamedPipe pipe;
        SmbFileInputStream in = null;
        SmbFileOutputStream out = null;
        boolean isStart = true;
    
        /**
         * Creates a DCERPC pipe handle with the specified URL and authentication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

    import jcifs.util.Encdec;
    
    /**
     * DCE/RPC handle implementation for named pipe communications.
     * This class provides DCE/RPC communication over SMB named pipes.
     */
    public class DcerpcPipeHandle extends DcerpcHandle {
    
        /* This 0x20000 bit is going to get chopped! */
        final static int pipeFlags = 0x2019F << 16 | SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_DCE_TRANSACT;
    
        private final SmbNamedPipe pipe;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top