- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 217 for 0x40 (0.01 sec)
-
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
void testConstructor() throws Exception { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file"); assertEquals("/file", getPrivateField(cmd, "path")); assertEquals((byte) 0x00, getPrivateField(cmd, "maxSetupCount")); assertEquals(4096, getPrivateField(cmd, "maxDataCount")); } @Test @DisplayName("writeSetupWireFormat writes subCommand and padding")
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/SmbComCreateDirectory.java
return 0; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
// Expected format: buffer format (1 byte) + file name (null-terminated) int expectedLength = 1 + TEST_FILE_NAME.length() + 1; assertEquals(expectedLength, bytesWritten); assertEquals(0x04, dst[0]); // Buffer format assertEquals(TEST_FILE_NAME, new String(dst, 1, TEST_FILE_NAME.length())); } @Test public void testReadParameterWordsWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
// SMB2 header validator.validateSmbHeader(0x424D53FE, 64, 0x00); } @Test public void testInvalidProtocolId() throws Exception { assertThrows(SmbException.class, () -> { validator.validateSmbHeader(0xDEADBEEF, 64, 0x00); }); } @Test public void testInvalidSmb1HeaderSize() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransPeekNamedPipe.java
timeout = 0xFFFFFFFF; maxParameterCount = 6; maxDataCount = 1; maxSetupCount = (byte) 0x00; setupCount = 2; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; // this says "Transaction priority" in netmon writeInt2(fid, dst, dstIndex); return 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java
totalDataCount = 0; maxParameterCount = 0; maxDataCount = 4096; maxSetupCount = (byte) 0x00; } @Override int writeSetupWireFormat(final byte[] dst, int dstIndex) { dst[dstIndex] = subCommand; dstIndex++; dst[dstIndex++] = (byte) 0x00; return 2; } @Override int writeParametersWireFormat(final byte[] dst, int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
// per bouncycastle // <li>1: K(i) := PRF( KI, [i]_2 || Label || 0x00 || Context || [L]_2 ) with the counter at the very beginning // of the fixedInputData (The default implementation has this format)</li> // with the parameters // <li>1. KDFCounterParameters(ki, null, "Label || 0x00 || Context || [L]_2]", 8); // all fixed inputs go into the suffix: // + label
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java
return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(this.path, dst, dstIndex); return dstIndex - start; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
this.andx = null; dst[start + ANDX_COMMAND_OFFSET] = (byte) 0xFF; dst[start + ANDX_RESERVED_OFFSET] = (byte) 0x00; // dst[start + ANDX_OFFSET_OFFSET] = (byte)0x00; // dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0x00; dst[start + ANDX_OFFSET_OFFSET] = (byte) 0xde; dst[start + ANDX_OFFSET_OFFSET + 1] = (byte) 0xde;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0)