- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for DcerpcPipeHandle (0.14 sec)
-
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
import jcifs.smb.SmbPipeHandleInternal; import jcifs.util.Encdec; /** * DCE/RPC handle implementation for named pipe communications. * This class provides DCE/RPC communication over SMB named pipes. */ public class DcerpcPipeHandle extends DcerpcHandle { /* This 0x20000 bit is going to get chopped! */ final static int pipeFlags = 0x2019F << 16 | SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_DCE_TRANSACT;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
import jcifs.smb1.smb1.SmbFileOutputStream; import jcifs.smb1.smb1.SmbNamedPipe; import jcifs.smb1.util.Encdec; /** * DCERPC handle implementation using SMB named pipes for transport */ public class DcerpcPipeHandle extends DcerpcHandle { SmbNamedPipe pipe; SmbFileInputStream in = null; SmbFileOutputStream out = null; boolean isStart = true; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
} /** * Helper method to create a DcerpcPipeHandle with injected mocks * Uses mock to avoid constructor issues while allowing real method calls */ private DcerpcPipeHandle createMockedDcerpcPipeHandle() throws Exception { // Create a mock without calling the constructor DcerpcPipeHandle handle = mock(DcerpcPipeHandle.class); // Inject the binding using reflection
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/smb1/dcerpc/DcerpcHandle.java
if (this instanceof DcerpcPipeHandle) { return ((DcerpcPipeHandle) this).pipe.getServer(); } return null; } /** * Gets the principal associated with this handle * @return the principal or null if not authenticated */ public Principal getPrincipal() { if (this instanceof DcerpcPipeHandle) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
@Nested @DisplayName("Handle Creation Tests") class HandleCreationTests { @Test @DisplayName("Should create DcerpcPipeHandle for ncacn_np protocol") void testGetHandleNcacnNpProtocol() { // When/Then: Should attempt to create DcerpcPipeHandle (may fail due to SMB URL creation) // This tests the protocol recognition logic, actual creation may fail due to missing SMB support
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
throws MalformedURLException, DcerpcException { if (url.startsWith("ncacn_np:")) { return new DcerpcPipeHandle(url, tc, unshared); } throw new DcerpcException("DCERPC transport not supported: " + url); } /** * Bind the handle * * @throws DcerpcException
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0)