- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for dec_ndr_small (0.22 sec)
-
src/main/java/jcifs/dcerpc/DcerpcMessage.java
void decode_header(final NdrBuffer buf) throws NdrException { /* RPC major / minor version */ if (buf.dec_ndr_small() != 5 || buf.dec_ndr_small() != 0) { throw new NdrException("DCERPC version not supported"); } this.ptype = buf.dec_ndr_small(); this.flags = buf.dec_ndr_small(); if (buf.dec_ndr_long() != 0x00000010) { /* Little-endian / ASCII / IEEE */
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/rpc.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
buf.setIndex(0); // Verify header was written correctly assertEquals(5, buf.dec_ndr_small()); // RPC version assertEquals(0, buf.dec_ndr_small()); // minor version assertEquals(0, buf.dec_ndr_small()); // ptype assertEquals(0x05, buf.dec_ndr_small()); // flags assertEquals(0x00000010, buf.dec_ndr_long()); // data representation
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/ndr/NdrSmallTest.java
// Verify that enc_ndr_small was called with the correct value verify(mockNdrBuffer, times(1)).enc_ndr_small(100); verifyNoMoreInteractions(mockNdrBuffer); } @Test void testDecode() throws NdrException { // Define the value that dec_ndr_small should return int decodedValue = 200; when(mockNdrBuffer.dec_ndr_small()).thenReturn(decodedValue);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
verify(mockNdrBuffer).enc_ndr_small((byte) 0x11); verify(mockNdrBuffer).enc_ndr_small((byte) 0x22); verify(mockNdrBuffer).advance(6); verify(mockNdrBuffer).derive(anyInt()); // Verify each node byte is encoded verify(mockNdrBuffer).enc_ndr_small((byte) 0xAA); verify(mockNdrBuffer).enc_ndr_small((byte) 0xBB);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
lenient().doNothing().when(mockBuffer).enc_ndr_small(anyInt()); lenient().doNothing().when(mockBuffer).enc_ndr_long(anyInt()); lenient().doNothing().when(mockBuffer).enc_ndr_short(anyInt()); message.encode_header(mockBuffer); // Verify that key values were written verify(mockBuffer).enc_ndr_small(5); // RPC version
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
void decode_header(final NdrBuffer buf) throws NdrException { /* RPC major / minor version */ if (buf.dec_ndr_small() != 5 || buf.dec_ndr_small() != 0) { throw new NdrException("DCERPC version not supported"); } ptype = buf.dec_ndr_small(); flags = buf.dec_ndr_small(); if (buf.dec_ndr_long() != 0x00000010) { /* Little-endian / ASCII / IEEE */
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/DcerpcBindTest.java
int result = 0; when(mockBuffer.dec_ndr_short()).thenReturn(4096, 4096, 10, result, 0); when(mockBuffer.dec_ndr_long()).thenReturn(12345); when(mockBuffer.dec_ndr_small()).thenReturn(1); lenient().doNothing().when(mockBuffer).advance(anyInt()); lenient().when(mockBuffer.align(anyInt())).thenReturn(0); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
this.impersonation_level = (short) _src.dec_ndr_short(); this.context_mode = (byte) _src.dec_ndr_small(); this.effective_only = (byte) _src.dec_ndr_small(); } } /** * LSA object attributes. */ /** * LSA object attributes for policy and resource access. */ public static class LsarObjectAttributes extends NdrObject { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0)