Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for DcerpcMessage (0.06 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcMessage.java

     * This class provides common functionality for all DCE/RPC message types.
     */
    public abstract class DcerpcMessage extends NdrObject implements DcerpcConstants {
    
        /**
         * Default constructor for DcerpcMessage.
         * Initializes the DCE/RPC message structure.
         */
        protected DcerpcMessage() {
            // Default constructor
        }
    
        /**
         * The packet type of this DCERPC message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

     * This class provides common functionality for all DCE/RPC message types in SMB1 protocol.
     */
    public abstract class DcerpcMessage extends NdrObject implements DcerpcConstants {
    
        /**
         * Default constructor for DcerpcMessage.
         * Initializes the DCE/RPC message structure for SMB1 protocol.
         */
        protected DcerpcMessage() {
            // Default constructor
        }
    
        /**
         * The packet type of this DCERPC message
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

            Field ptypeField = DcerpcMessage.class.getDeclaredField("ptype");
            ptypeField.setAccessible(true);
            int ptypeValue = (int) ptypeField.get(request);
            assertEquals(0, ptypeValue, "The 'ptype' field should be initialized to 0.");
    
            Field flagsField = DcerpcMessage.class.getDeclaredField("flags");
            flagsField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            // Then
            assertTrue(msrpcSamrConnect2 instanceof samr.SamrConnect2, "Should be an instance of samr.SamrConnect2");
            assertTrue(msrpcSamrConnect2 instanceof DcerpcMessage, "Should be an instance of DcerpcMessage");
        }
    
        @Test
        @DisplayName("Should have correct opnum from parent class")
        void shouldHaveCorrectOpnum() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                // Assert - verify inheritance chain
                assertTrue(msg instanceof samr.SamrConnect2, "Should extend SamrConnect2");
                assertTrue(msg instanceof DcerpcMessage, "Should extend DcerpcMessage");
                assertTrue(msg instanceof NdrObject, "Should extend NdrObject");
            }
    
            @Test
            @DisplayName("should inherit getOpnum method")
            void testGetOpnumMethod() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

        @Nested
        @DisplayName("Inheritance Tests")
        class InheritanceTests {
    
            @Test
            @DisplayName("DcerpcBind should extend DcerpcMessage")
            void testInheritance() {
                // Then
                assertTrue(bind instanceof DcerpcMessage, "Should extend DcerpcMessage");
                assertTrue(bind instanceof jcifs.dcerpc.ndr.NdrObject, "Should extend NdrObject");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.dcerpc.DcerpcMessage;
    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.dcerpc.ndr.NdrException;
    import jcifs.smb1.dcerpc.ndr.NdrObject;
    
    /**
     * Server Service RPC interface implementation for remote server administration (SMB1).
     */
    public class srvsvc {
    
        /**
         * Private constructor to prevent instantiation.
         */
        private srvsvc() {
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

            try {
                java.lang.reflect.Field ptypeField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("ptype");
                ptypeField.setAccessible(true);
                assertEquals(0, ptypeField.get(msrpcSamrOpenAlias), "ptype should be initialized to 0");
    
                java.lang.reflect.Field flagsField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("flags");
                flagsField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                doNothing().when(spyHandle).sendrecv(any(DcerpcMessage.class));
    
                // When: Binding the handle
                spyHandle.bind();
    
                // Then: Should call sendrecv with bind message
                verify(spyHandle).sendrecv(any(DcerpcMessage.class));
            }
    
            @Test
            @DisplayName("Should propagate IOException during bind")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/samr.java

    package jcifs.dcerpc.msrpc;
    
    import jcifs.dcerpc.DcerpcMessage;
    import jcifs.dcerpc.rpc;
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    import jcifs.dcerpc.ndr.NdrObject;
    
    /**
     * Security Account Manager Remote (SAMR) protocol implementation.
     * This class provides DCE/RPC interface for SAM database operations including
     * user account management, group operations, and domain security functions.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top