- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for IPC (0.01 sec)
-
src/test/java/jcifs/smb/SmbNamedPipeTest.java
} @Nested @DisplayName("Constructor behavior") class ConstructorTests { @ParameterizedTest @DisplayName("Accepts IPC$ URLs (happy path)") @ValueSource(strings = { "smb://server/IPC$/foo", "smb://server/IPC$/PIPE/foo" }) void constructsWithIpcShare(String url) throws Exception { // Arrange & Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
@Test @DisplayName("shouldForceSigning depends on config, creds, and IPC") void testShouldForceSigning() { when(config.isIpcSigningEnforced()).thenReturn(true); when(creds.isAnonymous()).thenReturn(false); // Case 1: share is IPC$ -> IPC SmbResourceLocatorImpl ipc = locator("smb://server/IPC$/"); assertTrue(ipc.shouldForceSigning()); // Case 2: config disabled
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
data[15] = 0x00; // type = 0 data[16] = 40; data[17] = 0; data[18] = 0; data[19] = 0; // remark offset // Entry 2: IPC$, type 3 (IPC), remark "Inter-Process Communication" System.arraycopy("IPC$".getBytes(StandardCharsets.US_ASCII), 0, data, 20, 4); data[34] = 0x03; data[35] = 0x00; // type = 3 data[36] = 60; data[37] = 0;
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/dcerpc/DcerpcPipeHandleTest.java
makePipeUrlMethod.setAccessible(true); String result = (String) makePipeUrlMethod.invoke(handle); assertEquals("smb://server/IPC$/test", result); } @Test @DisplayName("Should generate correct pipe URL with server option") void testMakePipeUrl_WithServerOption() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} if (transport.getContext().getConfig().isIpcSigningEnforced() && ("IPC$".equals(this.getShare()) || "IPC".equals(rsvc)) && !sess.getCredentials().isAnonymous() && sess.getDigest() == null) { throw new SmbException("IPC signing is enforced, but no signing is available"); } this.service = rsvc;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
void testReadDataWireFormatMultipleShares() throws Exception { int numShares = 3; String[] shareNames = { "SHARE1", "ADMIN$", "IPC$" }; int[] shareTypes = { 0, 0x8000, 3 }; // Disk, Hidden flag (stored in 2 bytes), IPC String[] remarks = { "First share", "Admin share", "IPC share" }; // Set converter and number of entries setConverter(response, 0); setNumEntries(response, numShares);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(session.getSmbTree(eq("IPC$"), isNull())).thenReturn(tree); when(tree.unwrap(SmbTreeInternal.class)).thenReturn(tree); doReturn(mockTransport).when(poolSpy).getSmbTransport(eq(ctx), eq(address), anyInt(), eq(false), anyBoolean()); // When: Perform logon poolSpy.logon(ctx, address); // Then: Should connect to IPC$ share verify(tree).connectLogon(ctx); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} DfsReferral getDfsReferrals(final NtlmPasswordAuthentication auth, final String path, int rn) throws SmbException { final SmbTree ipc = getSmbSession(auth).getSmbTree("IPC$", null); final Trans2GetDfsReferralResponse resp = new Trans2GetDfsReferralResponse(); ipc.send(new Trans2GetDfsReferral(path), resp); if (resp.numReferrals == 0) { return null; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
void testGetPipeResourceWithValidURLs() throws CIFSException { // Test that valid pipe URLs can be created successfully String[] validPipeUrls = { "smb://server/IPC$/pipe", "smb://server/IPC$/pipe/svcctl" }; for (String validUrl : validPipeUrls) { // When SmbPipeResource pipe = context.getPipe(validUrl, 0); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* * <pre> * new SmbNamedPipe("smb://server/IPC$/PIPE/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_CALL, context); * </pre> * * </td> * <td> * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface. * </td> * </tr> * <tr> * <td > * * <pre>
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0)