- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 287 for 0x05 (0.41 sec)
-
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/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
Arguments.of(new byte[] { (byte) 0x41, (byte) 0x42 }, "QUI="), // "AB" Arguments.of("Man".getBytes(), "TWFu"), // 3 bytes, no padding Arguments.of(new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0x00 }, "AAAA"), // all zeros Arguments.of(new byte[] { (byte) 0xff, (byte) 0xff, (byte) 0xff }, "////")) // all 0xFF bytes ; } @ParameterizedTest(name = "encode({1}) -> {2}")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
// Assert assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0]); assertEquals((byte) 0x00, dst[1]); assertEquals((byte) 0x00, dst[2]); // no FID assertEquals((byte) 0x00, dst[3]); } @Test @DisplayName("writeSetupWireFormat with offset should write at correct position") void testWriteSetupWireFormatWithOffset() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java
} @Override protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; this.isLoggedInAsGuest = ((buffer[bufferIndex] & 0x01) == 0x01) == true; bufferIndex += 2; if (this.isExtendedSecurity()) { final int blobLength = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
} private static Stream<Arguments> provideFidTestCases() { return Stream.of(Arguments.of(0x0000, (byte) 0x00, (byte) 0x00), Arguments.of(0x00FF, (byte) 0xFF, (byte) 0x00), Arguments.of(0xFF00, (byte) 0x00, (byte) 0xFF), Arguments.of(0xFFFF, (byte) 0xFF, (byte) 0xFF), Arguments.of(0x1234, (byte) 0x34, (byte) 0x12)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
assertEquals(0x0101, actualInfoLevel); // FILE_BASIC_INFO maps to 0x0101 // Check reserved bytes (4 bytes of 0x00) assertEquals(0x00, buffer[2]); assertEquals(0x00, buffer[3]); assertEquals(0x00, buffer[4]); assertEquals(0x00, buffer[5]); // Check that filename is written correctly (starting at offset 6)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java
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 dst[dstIndex++] = (byte) 0x00; // no FID dst[dstIndex++] = (byte) 0x00; return 4; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransWaitNamedPipe.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
bufferIndex += 2; } this.setNumEntries(SMBUtil.readInt2(buffer, bufferIndex)); bufferIndex += 2; this.isEndOfSearch = ((buffer[bufferIndex] & 0x01) == 0x01) == true; bufferIndex += 2; this.eaErrorOffset = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.lastNameOffset = SMBUtil.readInt2(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0)