Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for lm (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        @DisplayName("Test constructor with transport and auth - LM compatibility 0")
        void testConstructorWithTransportLMCompat0() throws Exception {
            setupTransportMocks(0);
    
            SMB1SigningDigest digest = new SMB1SigningDigest(mockTransport, mockAuth);
            assertNotNull(digest);
        }
    
        @Test
        @DisplayName("Test constructor with transport and auth - LM compatibility 1")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SpnegoContext.java

                return null;
            }
    
            final ASN1ObjectIdentifier[] lm = this.mechs;
            final byte[] ml = encodeMechs(lm);
            final byte[] mechanismListMIC = this.mechContext.calculateMIC(ml);
            if (log.isDebugEnabled()) {
                log.debug("Out Mech list " + Arrays.toString(lm));
                log.debug("Out Mech list encoded " + Hexdump.toHexString(ml));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmUtil.java

            return NtlmUtil.computeResponse(responseKeyNT, serverChallenge, temp, 0, temp.length);
        }
    
        /**
         * Creates the LMv2 response for the supplied keys and challenges.
         *
         * @param responseKeyLM the LM response key
         * @param serverChallenge the server challenge bytes
         * @param clientChallenge the client challenge bytes
         * @return the calculated response
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                log.warn("Using insecure NTLMv1 authentication (LM compatibility level {}). "
                        + "Please upgrade to NTLMv2 by setting jcifs.smb.lmCompatibility to 3 or higher.", compatibility);
            }
    
            switch (compatibility) {
            case 0:
            case 1:
                // NTLMv1 - deprecated and insecure
                log.warn("NTLMv1 LM response is deprecated and insecure. Consider using NTLMv2.");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    	// ChecksumAlgorithm if set
    	ChecksumAlgorithm string
    
    	// ChecksumType if set
    	ChecksumType string
    }
    
    // Lookup - returns if uploadID is valid
    func (lm ListMultipartsInfo) Lookup(uploadID string) bool {
    	for _, upload := range lm.Uploads {
    		if upload.UploadID == uploadID {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmSspTest.java

            byte[] message = new byte[200];
    
            // NTLMSSP signature
            System.arraycopy("NTLMSSP\0".getBytes(), 0, message, 0, 8);
    
            // Type 3 indicator
            message[8] = 0x03;
    
            // LM Response (24 bytes at offset 64)
            message[12] = 24; // Length
            message[13] = 0;
            message[14] = 24; // Max Length
            message[15] = 0;
            message[16] = 64; // Offset
            message[17] = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        boolean USE_EXTSEC = Config.getBoolean("jcifs.smb1.smb.client.useExtendedSecurity", true);
    
        /** NetBIOS hostname */
        String NETBIOS_HOSTNAME = Config.getProperty("jcifs.smb1.netbios.hostname", null);
        /** LM compatibility level */
        int LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 3);
    
        /** No flags set */
        int FLAGS_NONE = 0x00;
        /** Lock and read write and unlock flag */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                throw new RuntimeException("Try setting jcifs.smb1.encoding=US-ASCII", uee);
            }
            int passwordLength = passwordBytes.length;
    
            // Only encrypt the first 14 bytes of the password for Pre 0.12 NT LM
            if (passwordLength > 14) {
                passwordLength = 14;
            }
            System.arraycopy(passwordBytes, 0, p14, 0, passwordLength);
            E(p14, S8, p21);
            E(p21, challenge, p24);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         *
         * <a href="https://technet.microsoft.com/en-us/library/cc960646.aspx">Microsoft TechNet Documentation</a>
         *
         *
         * <table>
         * <caption>LM Compatibility Levels</caption>
         * <tr>
         * <td>0 or 1</td>
         * <td>LM and NTLM</td>
         * </tr>
         * <tr>
         * <td>2</td>
         * <td>NTLM only</td>
         * </tr>
         * <tr>
         * <td>3-5</td>
         * <td>NTLMv2 only</td>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            assertEquals(0, messageBytes[9] & 0xFF);
            assertEquals(0, messageBytes[10] & 0xFF);
            assertEquals(0, messageBytes[11] & 0xFF);
        }
    
        @Test
        @DisplayName("Should generate LM and NTLM responses")
        void testLMAndNTLMResponses() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String password = "testpassword";
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top