Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for system (0.13 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            byte[] key7 = new byte[7];
            byte[] e8 = new byte[8];
    
            for( int i = 0; i < key.length / 7; i++ ) {
                System.arraycopy( key, i * 7, key7, 0, 7 );
                DES des = new DES( key7 );
                des.encrypt( data, e8 );
                System.arraycopy( e8, 0, e, i * 8, 8 );
            }
        }
    
        static String DEFAULT_DOMAIN;
        static String DEFAULT_USERNAME;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            byte[] result;
            result = cipher.doFinal(data);
    
            decrypt = new byte[result.length];
            System.arraycopy(result, 0, decrypt, 0, result.length);
    
            int tempSize = decrypt.length - 24;
    
            byte[] output = new byte[tempSize];
            System.arraycopy(decrypt, 24, output, 0, tempSize);
    
            decrypt = output;
            return decrypt;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

         */
        public static SID CREATOR_OWNER = null;
    
        /**
         * Well known SID: SYSTEM
         */
        public static SID SYSTEM = null;
    
        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            }
            catch ( SmbException se ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

        private static class CacheEntry <T> {
    
            long expiration;
            Map<String, T> map;
    
    
            CacheEntry ( long ttl ) {
                this.expiration = System.currentTimeMillis() + ttl * 1000L;
                this.map = new ConcurrentHashMap<>();
            }
        }
    
        private static class NegativeCacheEntry <T> extends CacheEntry<T> {
    
            /**
             * @param ttl
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            int start = bufferIndex;
    
            if ( ( this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY ) == 0 ) {
                this.server.encryptionKey = new byte[this.server.encryptionKeyLength];
                System.arraycopy(buffer, bufferIndex, this.server.encryptionKey, 0, this.server.encryptionKeyLength);
                bufferIndex += this.server.encryptionKeyLength;
                if ( this.byteCount > this.server.encryptionKeyLength ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                    // shouldn't happen if alloc_hint is correct or greater
                    byte[] tmp = new byte[off + stub_frag_len];
                    System.arraycopy(in, 0, tmp, 0, off);
                    in = tmp;
                }
                System.arraycopy(fragBytes, 24, in, off, stub_frag_len);
                off += stub_frag_len;
            }
            return in;
        }
    
    
        /**
         * @param fbuf
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type2Message.java

                offset += 2;
                System.arraycopy(domain, 0, targetInfo, offset, domainLength);
                offset += domainLength;
            }
            if ( serverLength > 0 ) {
                writeUShort(targetInfo, offset, 1);
                offset += 2;
                writeUShort(targetInfo, offset, serverLength);
                offset += 2;
                System.arraycopy(server, 0, targetInfo, offset, serverLength);
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/FileAttributesTest.java

            try ( SmbResource f = getDefaultShareRoot() ) {
                f.getDiskFreeSpace();
            }
        }
    
    
        public void assertCloseTime ( long timeMs ) {
            if ( timeMs - System.currentTimeMillis() > 5 * 60 * 1000L ) {
                assertTrue("Time is not within 30s, check clocks " + new Date(timeMs), false);
            }
        }
    
    
        @Test
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

     */
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
        private static final int MAX_REDIRECTS =
                Integer.parseInt(System.getProperty("http.maxRedirects", "20"));
    
        private static final int LM_COMPATIBILITY =
                Config.getInt("jcifs.smb1.smb.lmCompatibility", 0);
    
        private static final String DEFAULT_DOMAIN;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

                long k = makeKey(curReq);
    
                if ( firstKey == 0 ) {
                    firstKey = k;
                }
    
                if ( timeout > 0 ) {
                    curResp.setExpiration(System.currentTimeMillis() + timeout);
                }
                else {
                    curResp.setExpiration(null);
                }
    
                curResp.setMid(k);
                this.response_map.put(k, curResp);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
Back to top