- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for 010203 (3.6 sec)
-
src/test/java/jcifs/SmbPipeResourceTest.java
*/ @Test void testPipeTypeTransact() { assertEquals(0x0200, SmbPipeResource.PIPE_TYPE_TRANSACT, "PIPE_TYPE_TRANSACT should be 0x0200"); } /** * Test if the PIPE_TYPE_DCE_TRANSACT constant has the correct value. */ @Test void testPipeTypeDceTransact() { assertEquals(0x0200 | 0x0400, SmbPipeResource.PIPE_TYPE_DCE_TRANSACT, "PIPE_TYPE_DCE_TRANSACT should be 0x0600"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
assertTrue(result.endsWith(",dc=SERVER123]")); // Hexdump.toHexString with size = length * 2 produces 8 uppercase hex chars // The hex should be "010203FF" assertTrue(result.contains("010203FF")); } @Test @DisplayName("toString with empty challenge array") void testToStringWithEmptyChallenge() { UniAddress dc = mock(UniAddress.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/SmbPipeResource.java
/** * Pipe operations should behave like the <code>TransactNamedPipe</code> Win32 Named Pipe function. */ int PIPE_TYPE_TRANSACT = 0x0200; /** * Pipe is used for DCE */ int PIPE_TYPE_DCE_TRANSACT = 0x0200 | 0x0400; /** * Pipe should use it's own exclusive transport connection */ int PIPE_TYPE_UNSHARED = 0x800; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
assertEquals(0x1234L, resp.getCount(), "Count should reflect value from buffer"); } @Test public void testToStringContainsCount() { // Little-endian: count = 512 (0x0200) byte[] buf = new byte[12]; buf[0] = 0x00; buf[1] = 0x02; // count = 512 in little-endian resp.readParameterWordsWireFormat(buf, 0); String str = resp.toString();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.java
*/ public static final int SMB2_NEGOTIATE_SIGNING_REQUIRED = 0x0002; /** * SMB 2.0.2 dialect (Windows Vista/Server 2008) */ public static final int SMB2_DIALECT_0202 = 0x0202; /** * SMB 2.1 dialect (Windows 7/Server 2008R2) */ public static final int SMB2_DIALECT_0210 = 0x0210; /** * SMB 3.0 dialect (Windows 8/Server 2012) */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
*/ public static final int PIPE_TYPE_TRANSACT = 0x0200; /** * Named pipe type flag for DCE RPC transact operations. */ public static final int PIPE_TYPE_DCE_TRANSACT = 0x0200 | 0x0400; InputStream pipeIn; OutputStream pipeOut; int pipeType; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0) -
README.md
### Protocol Support The library supports a full range of SMB protocols with automatic negotiation: **Supported Protocols:** - **SMB1/CIFS**: Legacy support via `jcifs.smb1/` package - **SMB 2.0.2**: Windows Vista+ (0x0202) - **SMB 2.1**: Windows 7/Server 2008R2 (0x0210) - **SMB 3.0**: Windows 8/Server 2012 (0x0300) - AES-128-CCM encryption - **SMB 3.0.2**: Windows 8.1/Server 2012R2 (0x0302) - Enhanced encryption
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
// Then assertNotNull(result); assertFalse(result.isEmpty()); // Should contain hex representation of first bytes assertTrue(result.startsWith("00010203")); assertEquals(64, result.length()); // 32 bytes * 2 chars per byte } @ParameterizedTest @ValueSource(ints = { 1, 16, 32, 64, 128, 256 }) @DisplayName("Should handle various data sizes")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
if (buf.length < max_recv) { throw new IllegalArgumentException("buffer too small"); } if (isStart && !isDirect) { // start of new frag, do trans off = in.read(buf, 0, 1024); } else { off = in.readDirect(buf, 0, buf.length); } if (buf[0] != 5 && buf[1] != 0) { throw new IOException("Unexpected DCERPC PDU header"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java
assertEquals(0, new BigDecimal("0.0000001").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.0000001D)))); assertEquals(0, new BigDecimal("0.123").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.123D)))); assertEquals(0, new BigDecimal("0.0123").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.0123D))));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 4.9K bytes - Viewed (0)