- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 310 for 0x03 (0.21 sec)
-
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/dtyp/ACETest.java
testBuffer[8] = 0x01; // Revision testBuffer[9] = 0x01; // Sub-authority count testBuffer[10] = 0x00; // Identifier authority testBuffer[11] = 0x00; testBuffer[12] = 0x00; testBuffer[13] = 0x00; testBuffer[14] = 0x00; testBuffer[15] = 0x01; testBuffer[16] = 0x00; // Sub-authority testBuffer[17] = 0x00; testBuffer[18] = 0x00;
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/smb1/smb1/NtlmChallengeTest.java
class ToStringTests { @Test @DisplayName("toString with valid data produces expected format") void testToStringWithValidData() { byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class); when(dc.toString()).thenReturn("SERVER123"); NtlmChallenge nc = new NtlmChallenge(challenge, dc);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
buffer[0] = 0x03; buffer[1] = 0x00; // isEndOfSearch (2 bytes) buffer[2] = 0x00; // end of search = false buffer[3] = 0x00; // eaErrorOffset (2 bytes) buffer[4] = 0x00; buffer[5] = 0x00; // lastNameOffset (2 bytes) buffer[6] = 0x08; buffer[7] = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
originalPairs.add(new AvFlags(0x12345678)); originalPairs.add(new AvTimestamp(new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 })); originalPairs.add(new AvTargetName("TESTNAME".getBytes())); originalPairs.add(new AvSingleHost(new byte[] { 0x11, 0x22, 0x33, 0x44 })); originalPairs.add(new AvChannelBindings(new byte[] { 0x55, 0x66 }));
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/test/java/jcifs/internal/smb1/com/ServerDataTest.java
*/ @Test @DisplayName("Test byte array fields (encryptionKey and guid)") public void testByteArrayFields() { // Test encryptionKey byte[] key = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; serverData.encryptionKey = key; assertNotNull(serverData.encryptionKey); assertArrayEquals(key, serverData.encryptionKey); // Test with empty array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
} /** * Test constructor with a malformed ASN.1 token. */ @Test void testConstructor_MalformedToken() { // 1. GIVEN byte[] malformedToken = new byte[] { 0x00, 0x01, 0x02, 0x03 }; // Not a valid ASN.1 sequence Map<Integer, KerberosKey> keys = new HashMap<>(); // 2. WHEN & 3. THEN PACDecodingException exception = assertThrows(PACDecodingException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
(byte) 0x05, (byte) 0x06, (byte) 0x07, (byte) 0x08 }, 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes "efcdab89674523010102030405060708"), new ExpectedHashCode( new byte[] {(byte) 0xdf, (byte) 0x9b, (byte) 0x57, (byte) 0x13}, 0x13579bdf, null,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
assertTrue(str.contains("name=test.txt"), "The file name should appear"); // securityFlags are set to 0x03 – verify hex sequence assertTrue(str.contains("securityFlags=0x03"), "securityFlags should be present"); } /** * Fetch a private field value via reflection. This helper keeps the
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
// flags (not the same as flags constructor argument) static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01; static final int FLAGS_REQUEST_OPLOCK = 0x02; static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04; // Access Mode Encoding for desiredAccess static final int SHARING_COMPATIBILITY = 0x00; static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10; static final int SHARING_DENY_WRITE = 0x20;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0)