- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 200 for 0x14 (0.01 sec)
-
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
*/ public static final byte SMB_COM_CHECK_DIRECTORY = (byte) 0x10; /** * SMB command to seek within a file. */ public static final byte SMB_COM_SEEK = (byte) 0x12; /** * SMB command for file locking operations. */ public static final byte SMB_COM_LOCKING_ANDX = (byte) 0x24; /** * SMB command for transaction operations. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
class ConstantValueTests { @Test @DisplayName("Should have correct constant values") void testConstantValues() { assertEquals(0x1, PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE); assertEquals(0x1, PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512); } } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComRename.java
@Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(this.oldFileName, dst, dstIndex); dst[dstIndex++] = (byte) 0x04; if (this.isUseUnicode()) { dst[dstIndex++] = (byte) '\0'; } dstIndex += writeString(this.newFileName, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, directoryName); // Expected format: buffer format (0x04) + path string (null terminated) byte[] expected = new byte[directoryName.length() + 2]; expected[0] = 0x04; // Buffer format System.arraycopy(directoryName.getBytes(StandardCharsets.UTF_8), 0, expected, 1, directoryName.length());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset ci += 4; SMBUtil.writeInt4(8, ctx, ci); // DataLength ci += 4; // Name bytes at 0x10 byte[] name = new byte[] { 'T', 'E', 'S', 'T' }; System.arraycopy(name, 0, ctx, 0x10, name.length); // Data bytes at 0x20 byte[] data = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }; System.arraycopy(data, 0, ctx, 0x20, data.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16) 0x01, // ShareType (DISK) 0x00, // Reserved 0x01, 0x00, 0x00, 0x00, // ShareFlags 0x08, 0x00, 0x00, 0x00, // Capabilities (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess }; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComRename.java
} @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(oldFileName, dst, dstIndex); dst[dstIndex++] = (byte) 0x04; if (useUnicode) { dst[dstIndex++] = (byte) '\0'; } dstIndex += writeString(newFileName, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// Given int securityMode = 0x03; int capabilities = 0x0000000F; long previousSessionId = 0x123456789ABCDEF0L; byte[] token = { (byte) 0x11, (byte) 0x22, (byte) 0x33, (byte) 0x44, (byte) 0x55, (byte) 0x66, (byte) 0x77, (byte) 0x88 }; Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, previousSessionId, token);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
final int start = bufferIndex; this.fid = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.typeOfLock = buffer[bufferIndex]; if ((this.typeOfLock & 0x10) == 0x10) { this.largeFile = true; } this.newOpLockLevel = buffer[bufferIndex + 1]; bufferIndex += 2; this.timeout = SMBUtil.readInt4(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
byte[] dst = new byte[2]; int bytesWritten = smbComDelete.writeParameterWordsWireFormat(dst, 0); assertEquals(2, bytesWritten); // ATTR_HIDDEN (0x02) | ATTR_SYSTEM (0x04) = 0x06 assertEquals(0x06, dst[0]); assertEquals(0x00, dst[1]); } @Test public void testWriteBytesWireFormat() { // Test the writing of bytes to a byte array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0)