- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 293 for 0x05 (0.02 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
// format byte + path + null terminator byte[] expected = new byte[1 + dirName.length() + 1]; expected[0] = 0x04; // buffer format System.arraycopy(dirName.getBytes(), 0, expected, 1, dirName.length()); expected[dirName.length() + 1] = 0x00; // null terminator byte[] dst = new byte[100]; int len = sdd.writeBytesWireFormat(dst, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
dst[dstIndex] = (byte) 0x01; } dstIndex++; writeInt2(length, dst, dstIndex); return HEADER_LENGTH; } int readHeaderWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException { type = buffer[bufferIndex] & 0xFF; bufferIndex++; length = ((buffer[bufferIndex] & 0x01) << 16) + readInt2(buffer, bufferIndex + 1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
assertEquals(0x01, smbComOpenAndX.openFunction); // OPEN_FN_OPEN } /** * Test constructor with O_TRUNC flag. */ @Test void testConstructor_TruncateOnly() { int flags = SmbFile.O_TRUNC; smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx); assertEquals(0x02, smbComOpenAndX.openFunction); // OPEN_FN_TRUNC } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtException.java
// error classes /** Success status code */ public static final int SUCCESS = 0; /** Name service error class */ public static final int ERR_NAM_SRVC = 0x01; /** Session service error class */ public static final int ERR_SSN_SRVC = 0x02; // name service error codes /** Format error in the name service */ public static final int FMT_ERR = 0x1; /** Server error in the name service */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
buffer[bufferIndex++] = 0; // securityMode buffer[bufferIndex++] = 0x03; // maxMpxCount buffer[bufferIndex++] = 50; buffer[bufferIndex++] = 0; // maxNumberVcs buffer[bufferIndex++] = 1; buffer[bufferIndex++] = 0; // maxBufferSize buffer[bufferIndex++] = (byte) 0x00; buffer[bufferIndex++] = (byte) 0x40; buffer[bufferIndex++] = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
* Test constructor with malformed data (too short). */ @Test void testConstructorMalformedData() { // Prepare data (only 2 bytes, less than an int) byte[] data = new byte[] { 0x01, 0x02 }; // Verify that PACDecodingException is thrown assertThrows(PACDecodingException.class, () -> { new PacSignature(data); }); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
verifyNfold("012345", 8, new byte[] { (byte) 0xbe, (byte) 0x07, (byte) 0x26, (byte) 0x31, (byte) 0x27, (byte) 0x6b, (byte) 0x19, (byte) 0x55 }); // 56-fold("password") verifyNfold("password", 7, new byte[] { (byte) 0x78, (byte) 0xa0, (byte) 0x7b, (byte) 0x6c, (byte) 0xaf, (byte) 0x85, (byte) 0xfa }); // 64-fold("Rough Consensus, and Running Code")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
filter.init(filterConfig); // Test NTLM Type 1 message handling byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 }; String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message)); when(request.getHeader("Authorization")).thenReturn(authHeader);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41); } for (; i < 15; i++) { dst[dstIndex + 2 * i + 1] = (byte) 0x43; dst[dstIndex + 2 * i + 2] = (byte) 0x41; } dst[dstIndex + TYPE_OFFSET] = (byte) (((hexCode & 0xF0) >> 4) + 0x41); dst[dstIndex + TYPE_OFFSET + 1] = (byte) ((hexCode & 0x0F) + 0x41);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0)