- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for 0xFE (1.45 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
assertTrue(len > 0); assertEquals(0, testMessage.getHeaderStart()); assertTrue(testMessage.getLength() > 0); // Verify SMB2 header assertEquals((byte) 0xFE, buffer[0]); assertEquals((byte) 'S', buffer[1]); assertEquals((byte) 'M', buffer[2]); assertEquals((byte) 'B', buffer[3]); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
byte[] buffer = new byte[1024]; int bufferIndex = 0; // Prepare SMB2 header (64 bytes) // Protocol ID System.arraycopy(new byte[] { (byte) 0xFE, 'S', 'M', 'B' }, 0, buffer, bufferIndex, 4); // Header length SMBUtil.writeInt2(64, buffer, bufferIndex + 4); // Credit charge SMBUtil.writeInt2(1, buffer, bufferIndex + 6);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
throw new SmbException("Invalid SMB1 header size: " + structureSize); } } // Check SMB2/3 signature else if (protocolId == 0x424D53FE) { // 0xFE 'S' 'M' 'B' // SMB2/3 if (structureSize != 64) { failedValidations.incrementAndGet(); throw new SmbException("Invalid SMB2 header size: " + structureSize);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals(68, SMBUtil.SMB2_HEADER.length); // Verify SMB2 header signature assertEquals((byte) 0xFE, SMBUtil.SMB2_HEADER[0]); assertEquals((byte) 'S', SMBUtil.SMB2_HEADER[1]); assertEquals((byte) 'M', SMBUtil.SMB2_HEADER[2]); assertEquals((byte) 'B', SMBUtil.SMB2_HEADER[3]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
// Random but realistic GUID byte[] testGuid = { (byte) 0x01, (byte) 0x23, (byte) 0x45, (byte) 0x67, (byte) 0x89, (byte) 0xAB, (byte) 0xCD, (byte) 0xEF, (byte) 0xFE, (byte) 0xDC, (byte) 0xBA, (byte) 0x98, (byte) 0x76, (byte) 0x54, (byte) 0x32, (byte) 0x10 }; // Security mode with signing requiredRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
String name = "TESTFLAGS "; System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 1, 16); src[srcIndex + 16] = 0x00; // hex code src[srcIndex + 17] = (byte) 0xFE; // All flags except one: 11111110 // Bit 7: group (1) // Bits 6-5: owner node type (11 = 3) // Bit 4: being deleted (1) // Bit 3: in conflict (1) // Bit 2: active (1)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
int headerStart = 0; int bodyStart = Smb2Constants.SMB2_HEADER_LENGTH; // Write SMB2 header (64 bytes) // Protocol ID System.arraycopy(new byte[] { (byte) 0xFE, 'S', 'M', 'B' }, 0, buffer, headerStart, 4); // Structure size (64) SMBUtil.writeInt2(64, buffer, headerStart + 4); // Credit charge SMBUtil.writeInt2(1, buffer, headerStart + 6);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0)