- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 90 for 0x3083 (0.1 sec)
-
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
assertFalse(key.isZero()); } @Test @DisplayName("Should create lease key from byte array") void testLeaseKeyFromBytes() { byte[] testBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; Smb2LeaseKey key = new Smb2LeaseKey(testBytes); assertArrayEquals(testBytes, key.getKey()); assertFalse(key.isZero()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
policyHandle.uuid.time_mid = (short) 0x2222; policyHandle.uuid.time_hi_and_version = (short) 0x3333; policyHandle.uuid.clock_seq_hi_and_reserved = (byte) 0x44; policyHandle.uuid.clock_seq_low = (byte) 0x55; policyHandle.uuid.node = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04, (byte) 0x05, (byte) 0x06 }; when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Volume label attribute */ int ATTR_VOLUME = 0x08; /** Directory attribute */ int ATTR_DIRECTORY = 0x10; /** Archive attribute */ int ATTR_ARCHIVE = 0x20; // extended file attribute encoding(others same as above) /** Compressed file attribute */ int ATTR_COMPRESSED = 0x800; /** Normal file attribute */ int ATTR_NORMAL = 0x080; /** Temporary file attribute */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0x04, SmbConstants.ATTR_SYSTEM); assertEquals(0x08, SmbConstants.ATTR_VOLUME); assertEquals(0x10, SmbConstants.ATTR_DIRECTORY); assertEquals(0x20, SmbConstants.ATTR_ARCHIVE); assertEquals(0x800, SmbConstants.ATTR_COMPRESSED); assertEquals(0x080, SmbConstants.ATTR_NORMAL); assertEquals(0x100, SmbConstants.ATTR_TEMPORARY); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
* The constructor should only use the first 8/32 bytes. */ @Test void testAvSingleHostCustomDataMachineIdConstructor_LongerInputs() { byte[] customData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A }; // Longer than 8 byte[] machineId = new byte[40]; // Longer than 32 for (int i = 0; i < 40; i++) { machineId[i] = (byte) i; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
assertEquals(0x6, AvPair.MsvAvFlags, "MsvAvFlags constant should be 0x6."); assertEquals(0x7, AvPair.MsvAvTimestamp, "MsvAvTimestamp constant should be 0x7."); assertEquals(0x08, AvPair.MsvAvSingleHost, "MsvAvSingleHost constant should be 0x08."); assertEquals(0x09, AvPair.MsvAvTargetName, "MsvAvTargetName constant should be 0x09."); assertEquals(0x0A, AvPair.MsvAvChannelBindings, "MsvAvChannelBindings constant should be 0x0A.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
// State 1: Generate Type 1 message context.initSecContext(new byte[0], 0, 0); // Create a mock Type 2 message (server challenge) byte[] serverChallenge = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; int type2Flags = NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_REQUEST_TARGET | NtlmFlags.NTLMSSP_NEGOTIATE_KEY_EXCH | NtlmFlags.NTLMSSP_NEGOTIATE_SIGN;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
private byte[] testMacSigningKey; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testMacSigningKey = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; } @Test @DisplayName("Test constructor with MAC signing key and bypass flag") void testConstructorWithBypass() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
@DisplayName("Test getApplyToText with different flag combinations") @CsvSource({ "0x00, This folder only", "'0x03', 'This folder, subfolders and files'", "0x0B, Subfolders and files only", "0x02, This folder and subfolders", "0x0A, Subfolders only", "0x01, This folder and files", "0x09, Files only", "0x08, Invalid" }) void testGetApplyToText(String flagsHex, String expectedText) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 }; PacDataInputStream pdis = createInputStream(data); pdis.readByte(); // position is 1 pdis.align(4); assertEquals(1, pdis.available()); assertEquals(0x05, pdis.readByte()); // Test no alignment needed pdis = createInputStream(new byte[] { 0x01, 0x02, 0x03, 0x04 }); pdis.readInt(); // position is 4
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0)