- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 260 for 0x11 (0.02 seconds)
-
src/main/java/jcifs/smb1/netbios/Name.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
} @Test void testConstructorWithMalformedToken() { // Test that PACDecodingException is thrown for a malformed token byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03 }; PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(malformedToken, (byte) 0, keys)); assertTrue(e.getMessage().startsWith("Malformed kerberos ticket")); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
static final int FILE_SYNCHRONOUS_IO_ALERT = 0x00000010; static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020; // security flags static final int SECURITY_CONTEXT_TRACKING = 0x01; static final int SECURITY_EFFECTIVE_ONLY = 0x02; private int rootDirectoryFid; private final int extFileAttributes; private final int shareAccess; private int createDisposition;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
// Initialize test data for (int i = 0; i < 16; i++) { testMachineId[i] = (byte) (i + 1); } for (int i = 0; i < 32; i++) { testSalt[i] = (byte) (i + 0x10); } // Default configuration for SMB 3.1.1 with encryption when(mockConfig.isDfsDisabled()).thenReturn(false); when(mockConfig.isEncryptionEnabled()).thenReturn(true);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K 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/smb/SpnegoContextTest.java
when(this.mechContext.getFlags()).thenReturn(0x1234); when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 }); // Act: len==0 triggers initial token construction byte[] out = ctx.initSecContext(null, 0, 0); // Assert: returns a SPNEGO token (opaque here but non-null/non-empty)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
* DCE/RPC message for NetrDfsEnumEx operation to enumerate DFS entries */ public static class NetrDfsEnumEx extends DcerpcMessage { @Override public int getOpnum() { return 0x15; } /** * Return value from the RPC call */ public int retval; /** * DFS name to enumerate */ public String dfs_name;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 21.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertArrayEquals(expectedDescrBytes, actualDescrBytes); // Verify level (0x0001 - 2 bytes) int descrEnd = 2 + expectedDescrBytes.length; assertEquals(0x01, dst[descrEnd]); assertEquals(0x00, dst[descrEnd + 1]); // Verify maxDataCount (2 bytes) int maxDataCount = SMBUtil.readInt2(dst, descrEnd + 2); assertTrue(maxDataCount > 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
assertEquals(999, bufDataStartField.get(response)); } @ParameterizedTest @DisplayName("Test reserved bytes are properly skipped") @ValueSource(bytes = { 0x00, 0x01, (byte) 0xFF, 0x7F, (byte) 0x80 }) void testReservedBytesSkipped(byte reservedValue) throws Exception { byte[] buffer = new byte[100]; int bufferIndex = 0;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.3K 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)