- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for random (0.29 sec)
-
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) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
byte[] clientChallenge = new byte[8]; RANDOM.nextBytes(clientChallenge); setLMResponse(getLMv2Response(type2, domain, user, password, clientChallenge)); byte[] clientChallenge2 = new byte[8]; RANDOM.nextBytes(clientChallenge2); setNTResponse(getNTLMv2Response(type2, responseKeyNT, clientChallenge2));
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) { // only have second precision // there seems to be some random factor (adding one second) int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) )); Assert.assertTrue("Have set time correctly", diff < 2); }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbRandomAccess.java
*/ package jcifs; import java.io.DataInput; import java.io.DataOutput; import jcifs.smb.SmbException; /** * File access that exposes random access semantics * * @author mbechler * */ public interface SmbRandomAccess extends DataOutput, DataInput, AutoCloseable { /** * Close the file * * @throws SmbException
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/test/java/jcifs/tests/ReadWriteTest.java
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) -
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)