Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for runcom (0.26 sec)

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

    public final class NtlmPasswordAuthentication implements Principal, Serializable {
    
        private static final int LM_COMPATIBILITY =
                Config.getInt("jcifs.smb1.smb.lmCompatibility", 3);
    
        private static final Random RANDOM = new Random();
    
        private static LogStream log = LogStream.getInstance();
    
        // KGS!@#$%
        private static final byte[] S8 = {
            (byte)0x4b, (byte)0x47, (byte)0x53, (byte)0x21,
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/BaseConfiguration.java

            }
    
            this.localPid = (int) ( Math.random() * 65536d );
            this.localTimeZone = TimeZone.getDefault();
            this.random = new SecureRandom();
    
            if ( this.machineId == null ) {
                byte[] mid = new byte[32];
                this.random.nextBytes(mid);
                this.machineId = mid;
            }
    
            if ( this.nativeOs == null ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  3. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        // open function
        static final int OPEN_FUNCTION_FAIL_IF_EXISTS      = 0x0000;
        static final int OPEN_FUNCTION_OVERWRITE_IF_EXISTS = 0x0020;
    
        static final int PID = (int)( Math.random() * 65536d );
    
        static final int SECURITY_SHARE = 0x00;
        static final int SECURITY_USER  = 0x01;
    
        static final int CMD_OFFSET        = 4;
        static final int ERROR_CODE_OFFSET = 5;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        public static final int FILE_NO_EA_KNOWLEDGE = 0x200;
        /**
         * 
         */
        public static final int FILE_OPEN_REMOTE_INSTANCE = 0x400;
        /**
         * 
         */
        public static final int FILE_RANDOM_ACCESS = 0x800;
        /**
         * 
         */
        public static final int FILE_DELETE_ON_CLOSE = 0x1000;
        /**
         * 
         */
        public static final int FILE_OPEN_BY_FILE_ID = 0x2000;
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jun 01 09:52:11 GMT 2019
    - 14.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                localHostname = "JCIFS" +
                        ( addr[2] & 0xFF ) + "_" +
                        ( addr[3] & 0xFF ) + "_" +
                        Hexdump.toHexString( (int)( Math.random() * (double)0xFF ), 2 );
            }
    
            /* Create an NbtAddress for the local interface with
             * the name deduced above possibly with scope applied and
             * cache it forever.
             */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ReadWriteTest.java

            super(name, properties);
        }
    
        private static final long SEED = ( new Random() ).nextLong();
    
    
        @Override
        @Before
        public void setUp () throws Exception {
            super.setUp();
        }
    
    
        static Random getRandom () {
            return new Random(SEED);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/RandomAccessFileTest.java

    import java.io.InputStream;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Random;
    
    import org.junit.Assert;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    import org.slf4j.Logger;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        }
    
    
        /**
         * Instantiate a random access file from a {@link SmbFile}
         * 
         * @param file
         * @param mode
         * @throws SmbException
         */
        public SmbRandomAccessFile ( SmbFile file, String mode ) throws SmbException {
            this(file, mode, SmbConstants.DEFAULT_SHARING, false);
        }
    
    
        /**
         * Instantiate a random access file from a {@link SmbFile}
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResource.java

        ACE[] getShareSecurity ( boolean resolveSids ) throws IOException;
    
    
        /**
         * Opens the file for random access
         * 
         * @param mode
         *            access mode (r|rw)
         * @param sharing
         *            flags indicating for which operations others may concurrently open the file
         * @return random access file, needs to be closed when finished
         * @throws CIFSException
         * 
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                byte[] addr = localInetAddress.getAddress();
                localHostname = "JCIFS" + ( addr[ 2 ] & 0xFF ) + "_" + ( addr[ 3 ] & 0xFF ) + "_"
                        + Hexdump.toHexString((int) ( Math.random() * 0xFF ), 2);
            }
    
            /*
             * Create an NbtAddress for the local interface with
             * the name deduced above possibly with scope applied and
             * cache it forever.
             */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
Back to top