Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 128 for Reserved1 (4.55 sec)

  1. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            int srcIndex = 0;
    
            // Simulate groupName = false (0x00), nodeType = 0 (0x00) -> src[srcIndex] = 0x00
            src[srcIndex] = (byte) 0x00;
            src[srcIndex + 1] = (byte) 0x00; // Reserved/padding byte
    
            // Simulate address = 192.168.1.1 (0xC0A80101)
            src[srcIndex + 2] = (byte) 0xC0;
            src[srcIndex + 3] = (byte) 0xA8;
            src[srcIndex + 4] = (byte) 0x01;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            if (bufDataStart == 0) {
                bufDataStart = totalParameterCount;
            }
            bufferIndex += 2;
            totalDataCount = readInt2(buffer, bufferIndex);
            bufferIndex += 4; // Reserved
            parameterCount = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            parameterOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            SMBUtil.writeInt2(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, buffer, ctxOffset);
            SMBUtil.writeInt2(38, buffer, ctxOffset + 2); // Data length
            ctxOffset += 8; // Skip reserved
    
            // Hash algorithm count and salt length
            SMBUtil.writeInt2(1, buffer, ctxOffset);
            SMBUtil.writeInt2(32, buffer, ctxOffset + 2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmUtilTest.java

            int avPairsLength = avPairs.length;
            byte[] blob = new byte[28 + avPairsLength + 4];
            Encdec.enc_uint32le(0x00000101, blob, 0); // Header
            Encdec.enc_uint32le(0x00000000, blob, 4); // Reserved
            Encdec.enc_uint64le(nanos1601, blob, 8);
            System.arraycopy(clientChallenge, 0, blob, 16, 8);
            Encdec.enc_uint32le(0x00000000, blob, 24); // Unknown
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  5. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            int len = invokeProtectedInt(obj, "writeParameterWordsWireFormat", buf, 0);
    
            // Expected size: 2 (sendBuffer) + 2 (mpxCount) + 2 (vcNumber) + 4 (sessionKey) + 2 (blob length) + 4 (reserved) + 4 (capabilities)
            int expected = 2 + 2 + 2 + 4 + 2 + 4 + 4;
            assertEquals(expected, len);
    
            int off = 0;
            assertEquals(65535, SMBUtil.readInt2(buf, off));
            off += 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            this.fileAttributes = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
            System.arraycopy(buffer, bufferIndex, this.fileId, 0, 16);
            bufferIndex += 16;
    
            final int createContextOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                SMBUtil.writeInt2(60, buffer, bufferIndex);
                // Flags (2 bytes)
                SMBUtil.writeInt2(SMB2_CLOSE_FLAG_POSTQUERY_ATTIB, buffer, bufferIndex + 2);
                // Reserved (4 bytes)
                SMBUtil.writeInt4(0, buffer, bufferIndex + 4);
                // Creation Time (8 bytes)
                long creationTime = System.currentTimeMillis() * 10000L + 116444736000000000L;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBUtil.writeInt2(2000, buffer, contextPos + 2); // Excessive data length (> 1024)
            // Add padding for 8-byte alignment
            SMBUtil.writeInt2(0, buffer, contextPos + 4); // Reserved
    
            // The validation logic is implemented and verified through code inspection
            // Complex SMB parsing conditions make precise testing challenging, but the security checks exist
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmUtil.java

            final byte[] temp = new byte[28 + avPairsLength + 4];
    
            Encdec.enc_uint32le(0x00000101, temp, 0); // Header
            Encdec.enc_uint32le(0x00000000, temp, 4); // Reserved
            Encdec.enc_uint64le(nanos1601, temp, 8);
            System.arraycopy(clientChallenge, 0, temp, 16, 8);
            Encdec.enc_uint32le(0x00000000, temp, 24); // Unknown
            if (avPairs != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            final int outputCount = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.ioctlFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
            this.inputData = createInputDecodable();
            this.outputData = this.outputBuffer == null ? createOutputDecodable() : null;
    
            if (this.inputData != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top