Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for 0x0311 (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            for (int i = 0; i < 16; i++) {
                defaultClientGuid[i] = (byte) (i + 1);
            }
    
            // Initialize default dialects
            defaultDialects = new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 };
        }
    
        @Test
        @DisplayName("Test constructor with valid parameters")
        void testConstructor() {
            ValidateNegotiateInfoRequest request =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            SMBUtil.writeInt2(0x1111, buffer1, 20);
            SMBUtil.writeInt2(0x0210, buffer1, 22);
    
            response.decode(buffer1, 0, 24);
            assertEquals(0x11111111, response.getCapabilities(), "First decode capabilities");
            assertEquals(0x1111, response.getSecurityMode(), "First decode security mode");
            assertEquals(0x0210, response.getDialect(), "First decode dialect");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

                    Arguments.of(DialectVersion.SMB210, DialectVersion.SMB300, new int[] { 0x0210, 0x0300 }),
                    Arguments.of(DialectVersion.SMB202, DialectVersion.SMB311, new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }),
                    Arguments.of(DialectVersion.SMB311, DialectVersion.SMB311, new int[] { 0x0311 }));
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            return Stream.of(Arguments.of(0x0202, DialectVersion.SMB202, true), Arguments.of(0x0210, DialectVersion.SMB210, true),
                    Arguments.of(0x0300, DialectVersion.SMB300, true), Arguments.of(0x0302, DialectVersion.SMB302, true),
                    Arguments.of(0x0311, DialectVersion.SMB311, true), Arguments.of(0xFFFF, null, false), // SMB2_DIALECT_ANY
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2Constants.java

         */
        public static final int SMB2_DIALECT_0210 = 0x0210;
    
        /**
         * SMB 3.0 dialect (Windows 8/Server 2012)
         */
        public static final int SMB2_DIALECT_0300 = 0x0300;
    
        /**
         * SMB 3.0.2 dialect (Windows 8.1/Server 2012R2)
         */
        public static final int SMB2_DIALECT_0302 = 0x0302;
    
        /**
         * SMB 3.1.1 dialect (Windows 10/Server 2016)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            void testDialect0302() {
                assertEquals(0x0302, Smb2Constants.SMB2_DIALECT_0302, "SMB 3.0.2 dialect must be 0x0302");
            }
    
            @Test
            @DisplayName("SMB 3.1.1 dialect should be 0x0311")
            void testDialect0311() {
                assertEquals(0x0311, Smb2Constants.SMB2_DIALECT_0311, "SMB 3.1.1 dialect must be 0x0311");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

         */
        @Test
        public void testExcessiveNegotiateContextCount() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
            // Set SMB 3.1.1 dialect
            SMBUtil.writeInt2(0x0311, buffer, 4);
            // Set excessive negotiate context count (should be limited to 100)
            SMBUtil.writeInt2(1000, buffer, 6);
            // Set negotiate context offset to valid value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. README.md

    - **SMB 2.0.2**: Windows Vista+ (0x0202)
    - **SMB 2.1**: Windows 7/Server 2008R2 (0x0210)
    - **SMB 3.0**: Windows 8/Server 2012 (0x0300) - AES-128-CCM encryption
    - **SMB 3.0.2**: Windows 8.1/Server 2012R2 (0x0302) - Enhanced encryption
    - **SMB 3.1.1**: Windows 10/Server 2016+ (0x0311) - AES-128-GCM + Pre-Auth Integrity
    
    **Protocol Selection:**
    - Default Range: SMB1 to SMB 3.1.1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                bufferIndex += securityBufferLength;
            }
    
            final int pad = (bufferIndex - hdrStart) % 8;
            bufferIndex += pad;
    
            if (this.dialectRevision == 0x0311 && negotiateContextOffset != 0 && negotiateContextCount != 0) {
                // Validate negotiate context offset
                if (negotiateContextOffset < 0) {
                    throw new SMBProtocolDecodingException(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

        @JvmField val TLS_DHE_RSA_WITH_DES_CBC_SHA = init("SSL_DHE_RSA_WITH_DES_CBC_SHA", 0x0015)
    
        @JvmField val TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA = init("SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA", 0x0016)
    
        @JvmField val TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 = init("SSL_DH_anon_EXPORT_WITH_RC4_40_MD5", 0x0017)
    
        @JvmField val TLS_DH_anon_WITH_RC4_128_MD5 = init("SSL_DH_anon_WITH_RC4_128_MD5", 0x0018)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 39.9K bytes
    - Viewed (0)
Back to top