- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for IPC$ (0.01 sec)
-
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/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/test/java/jcifs/util/PathValidatorTest.java
String adminShare = validator.validatePath("\\\\server\\C$\\folder"); assertEquals("\\server\\C$\\folder", adminShare); // IPC share should be allowed String ipcShare = validator.validatePath("\\\\server\\IPC$"); assertEquals("\\server\\IPC$", ipcShare); } @Test public void testCaseInsensitivity() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
} @Test void testSendWithDfsIpcService() throws SmbException { SmbTree tree = new SmbTree(session, "testShare", "IPC"); tree.connectionState = 2; // Connected state tree.tid = 123; tree.inDfs = true; // Create request with path
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
if (netbiosName != null && tcax.path.endsWith("\\IPC$")) { /* Some pipes may require that the hostname in the tree connect * be the netbios name. So if we have the netbios server name * from the NTLMSSP type 2 message, and the share is IPC$, we * assert that the tree connect path uses the netbios hostname.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0)