- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 36 for sendrecv (0.06 sec)
-
src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java
throws IOException { this.handle = handle; final MsrpcSamrOpenAlias rpc = new MsrpcSamrOpenAlias(domainHandle, access, rid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } this.opened = true; } @Override public synchronized void close() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java
try { handle.sendrecv(rpc); } catch (final DcerpcException de) { if (de.getErrorCode() != DcerpcError.DCERPC_FAULT_OP_RNG_ERROR) { throw de; } final MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this); handle.sendrecv(rpc2); } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
.thenAnswer(inv -> inv.getArgument(1)); int n = handle.sendrecv(new byte[10], 0, 0, new byte[20], 100); assertEquals(0, n, "Default response length is 0 unless protocol fills it"); } @Test @DisplayName("sendrecv uses CallNamedPipe when PIPE_TYPE_CALL is set") void sendrecv_call_branch() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// Given: Spy to intercept sendrecv calls TestDcerpcHandle spyHandle = spy(new TestDcerpcHandle(mockContext, mockBinding)); doNothing().when(spyHandle).sendrecv(any(DcerpcMessage.class)); // When: Binding the handle spyHandle.bind(); // Then: Should call sendrecv with bind message verify(spyHandle).sendrecv(any(DcerpcMessage.class)); }
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/smb1/dcerpc/msrpc/LsaPolicyHandle.java
this.handle = handle; if (server == null) { server = "\\\\"; } final MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } /** * Closes the LSA policy handle. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
throws IOException { this.handle = handle; final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } /** * Closes this SAM domain handle. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
message.setFlags(request.getFlags()); message.setTimeout((int) (context.getConfig().getWitnessRegistrationTimeout() / 1000)); // Send the RPC request rpcHandle.sendrecv(message); // Create response from RPC message results WitnessRegisterResponse response = new WitnessRegisterResponse(); response.setReturnCode(message.getReturnCode());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
assertArrayEquals(new byte[] { 1, 2, 3 }, key); verify(tree, times(1)).getSession(); verify(session, times(1)).getSessionKey(); } @Test @DisplayName("sendrecv SMB2 path issues IOCTL and returns response length") void testSendRecvSmb2() throws IOException, CIFSException { when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java
throws IOException { this.handle = handle; final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } this.opened = true; } @Override public synchronized void close() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
} void resolveSids(final DcerpcHandle handle, final LsaPolicyHandle policyHandle, final jcifs.SID[] sids) throws IOException { final MsrpcLookupSids rpc = new MsrpcLookupSids(policyHandle, sids); handle.sendrecv(rpc); switch (rpc.retval) { case 0: case NtStatus.NT_STATUS_NONE_MAPPED: case 0x00000107: // NT_STATUS_SOME_NOT_MAPPED break; default:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0)