Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for IPC$ (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  3. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  4. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  5. 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);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. 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>
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     * <tr><td ><pre>
     * new SmbNamedPipe( "smb1://server/IPC$/PIPE/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
     *         SmbNamedPipe.PIPE_TYPE_CALL );
     * </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>
     * new SmbNamedPipe( "smb1://server/IPC$/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/config/SecurityConfigurationTest.java

         */
        @Test
        public void testSigningConfiguration() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify IPC signing is enforced (this is a security requirement)
            assertTrue("IPC signing should be enforced for security", config.isIpcSigningEnforced());
        }
    
        /**
         * Test secure negotiation requirement for SMB3
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
Back to Top