- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 324 for 0x02 (0.04 seconds)
-
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
} /** * LSA close handle message. */ public static class LsarClose extends DcerpcMessage { @Override public int getOpnum() { return 0x00; } /** Return value from the RPC call. */ public int retval; /** Policy handle to be closed. */ public rpc.policy_handle handle; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 42.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
} @Test @DisplayName("Should construct with config and command") void testConstructorWithConfigAndCommand() { int command = 0x01; TestServerMessageBlock2Response resp = new TestServerMessageBlock2Response(mockConfig, command); assertNotNull(resp); assertSame(mockConfig, resp.getConfig()); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
assertEquals((byte) 0xCC, uuid.node[2]); assertEquals((byte) 0xDD, uuid.node[3]); assertEquals((byte) 0xEE, uuid.node[4]); assertEquals((byte) 0x00, uuid.node[5]); // Missing data defaults to 0 } @Test @DisplayName("Constructor with empty node array in rpc.uuid_t should handle gracefully") void testConstructorWithEmptyNode() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
// Parameter source for toString() hex rendering cases static Stream<Arguments> hexCases() { return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"), Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"), Arguments.of(new byte[] { (byte) 0xAB }, "ab"),Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
assertTrue(request instanceof jcifs.internal.smb2.RequestWithFileId); // Test interface method byte[] newFileId = new byte[16]; Arrays.fill(newFileId, (byte) 0x42); ((jcifs.internal.smb2.RequestWithFileId) request).setFileId(newFileId); // Verify it was set correctly by writing to wire format byte[] buffer = new byte[256];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
// Random but realistic GUID byte[] testGuid = { (byte) 0x01, (byte) 0x23, (byte) 0x45, (byte) 0x67, (byte) 0x89, (byte) 0xAB, (byte) 0xCD, (byte) 0xEF, (byte) 0xFE, (byte) 0xDC, (byte) 0xBA, (byte) 0x98, (byte) 0x76, (byte) 0x54, (byte) 0x32, (byte) 0x10 }; // Security mode with signing requiredCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// Given setPrivateField(response, "commonCapabilities", 0x2F); // 0010 1111 // Then assertTrue(response.haveCapabilitiy(0x01)); // Has this bit assertTrue(response.haveCapabilitiy(0x0F)); // Has all these bits assertFalse(response.haveCapabilitiy(0x10)); // Doesn't have this bit assertFalse(response.haveCapabilitiy(0x40)); // Doesn't have this bit }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
byte[] server = hex("0102030405060708"); byte[] client = hex("DEADBEEFCAFEBABE"); // Act byte[] a = NtlmUtil.getNTLM2Response(pwdHash, server, client); server[7] ^= 0x01; // mutate byte[] b = NtlmUtil.getNTLM2Response(pwdHash, server, client); // Assert assertEquals(24, a.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
} @Test @DisplayName("Directory leasing capability should be 0x20") void testGlobalCapDirectoryLeasing() { assertEquals(0x20, Smb2Constants.SMB2_GLOBAL_CAP_DIRECTORY_LEASING, "Directory leasing capability must be 0x20"); } @Test @DisplayName("Encryption capability should be 0x40") void testGlobalCapEncryption() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0)