- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for DcerpcMessage (0.47 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
*/ package jcifs.internal.witness; import jcifs.dcerpc.DcerpcMessage; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Base class for SMB Witness Protocol RPC messages as defined in MS-SWN specification. * This class extends DcerpcMessage to provide witness-specific RPC operations. */ public abstract class WitnessRpcMessage extends DcerpcMessage { // MS-SWN Witness Protocol Interface UUID and Version
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; import jcifs.smb1.dcerpc.ndr.NdrBuffer; import jcifs.smb1.dcerpc.ndr.NdrException; /** * Unit tests for {@link DcerpcMessage}. The tests exercise flag handling, * result extraction, header encoding/decoding, and the round-trip of an * encode/decode operation. */ public class DcerpcMessageTest { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java
assertEquals(mockSamArray, request.sam, "The sam array should be set correctly."); // ptype and flags are protected fields in DcerpcMessage, cannot test directly }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
/** * DCE/RPC bind request message implementation. * This class handles the binding process for establishing DCE/RPC communication channels. * * @author mbechler */ public class DcerpcBind extends DcerpcMessage { private static final String[] result_message = { "0", "DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED", "DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", "DCERPC_BIND_ERR_LOCAL_LIMIT_EXCEEDED" };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0)