- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 162 for 0x13 (0.01 sec)
-
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0x03, readOnlyHidden); } @Test @DisplayName("Should validate access mask combinations") void testAccessMaskCombinations() { // Test common access combinations int readWriteAccess = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA; assertEquals(0x03, readWriteAccess); int fullFileAccess =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
} @Test @DisplayName("addFlags0 combines flags correctly") void addFlags0() { SmbComNTCreateAndX req = createRequest(0, 0); req.addFlags0(0x10); int flags0 = (int) getPrivateField(req, "flags0"); assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0"); // Calling again should combine rather than overwrite req.addFlags0(0x20);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/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
super(andx); this.path = fileName; command = SMB_COM_OPEN_ANDX; desiredAccess = access & 0x3; if (desiredAccess == 0x3) { desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */ } desiredAccess |= SHARING_DENY_NONE; desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied. // searchAttributes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
originalUuid.clock_seq_hi_and_reserved = (byte) 0x99; originalUuid.clock_seq_low = (byte) 0x88; originalUuid.node = new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66 }; // Mock encoding buffer NdrBuffer encodeBuffer = mock(NdrBuffer.class); when(encodeBuffer.derive(anyInt())).thenReturn(encodeBuffer);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/smb1/util/HexdumpTest.java
assertEquals("0A0B0C", Hexdump.toHexString(data3, 0, 6)); // 6 chars = 3 bytes // Test with offset - NOTE: srcIndex is ignored due to bug, it always starts from index 0 byte[] data4 = { 0x00, 0x11, 0x22, 0x33, 0x44 }; assertEquals("00", Hexdump.toHexString(data4, 1, 2)); // Bug: ignores srcIndex, reads from 0 assertEquals("0011", Hexdump.toHexString(data4, 1, 4)); // Bug: ignores srcIndex, reads from 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer[0] = 0x00; // Allow ACE testBuffer[1] = 0x03; // FLAGS_OBJECT_INHERIT | FLAGS_CONTAINER_INHERIT testBuffer[2] = 0x20; // Size low byte (32) testBuffer[3] = 0x00; // Size high byte testBuffer[4] = (byte) 0xA9; // Access mask byte 0 testBuffer[5] = 0x00; // Access mask byte 1 testBuffer[6] = 0x12; // Access mask byte 2 testBuffer[7] = 0x00; // Access mask byte 3
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
// create a buffer with count = 0x1234 (4660 decimal) // Using little-endian byte order as per SMBUtil.readInt2 byte[] buf = new byte[12]; buf[0] = 0x34; // Low byte buf[1] = 0x12; // High byte int written = resp.readParameterWordsWireFormat(buf, 0); assertEquals(8, written, "Expected readParameterWordsWireFormat to advance 8 bytes");
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/ntlmssp/Type2MessageTest.java
byte[] testContext = new byte[] { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 }; message.setContext(testContext); byte[] testTargetInfo = new byte[] { 0x10, 0x20, 0x30 }; message.setTargetInformation(testTargetInfo); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
byte[] a = new byte[] { 0x01, 0x02, 0x03 }; assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readULong(a, 0)); } @Test @DisplayName("readSecurityBuffer correctly extracts data") void testReadSecurityBuffer() { byte[] buf = new byte[8 + 4]; byte[] payload = { 0x11, 0x22, 0x33, 0x44 }; NtlmMessage.writeSecurityBuffer(buf, 0, 8, payload);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0)