Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for DcerpcHandle (0.1 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

    public class DcerpcPipeHandle extends DcerpcHandle {
    
        SmbNamedPipe pipe;
        SmbFileInputStream in = null;
        SmbFileOutputStream out = null;
        boolean isStart = true;
    
        public DcerpcPipeHandle(String url,
                    NtlmPasswordAuthentication auth)
                    throws UnknownHostException, MalformedURLException, DcerpcException {
            binding = DcerpcHandle.parseBinding(url);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbEnumerationUtil.java

    
        /**
         * 
         */
        private SmbEnumerationUtil () {}
    
    
        private static DcerpcHandle getHandle ( CIFSContext ctx, SmbResourceLocator loc, Address address, String ep )
                throws MalformedURLException, DcerpcException {
            return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()), ctx);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

                    NtlmPasswordAuthentication auth,
                    SID[] sids) throws IOException {
            DcerpcHandle handle = null;
            LsaPolicyHandle policyHandle = null;
    
    synchronized (sid_cache) {
            try {
                handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName +
                        "[\\PIPE\\lsarpc]", auth);
                String server = authorityServerName;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

    import java.io.IOException;
    
    import jcifs.smb1.dcerpc.*;
    import jcifs.smb1.smb1.SmbException;
    
    public class SamrDomainHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        public SamrDomainHandle(DcerpcHandle handle,
                    SamrPolicyHandle policyHandle,
                    int access,
                    rpc.sid_t sid) throws IOException {
            this.handle = handle;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

    import java.io.IOException;
    
    import jcifs.smb1.dcerpc.*;
    import jcifs.smb1.smb1.SmbException;
    
    public class SamrPolicyHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        public SamrPolicyHandle(DcerpcHandle handle, String server, int access) throws IOException {
            this.handle = handle;
            if (server == null)
                server = "\\\\";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

    import jcifs.CIFSException;
    import jcifs.SmbPipeResource;
    import jcifs.smb.SmbNamedPipe;
    import jcifs.smb.SmbPipeHandleInternal;
    import jcifs.util.Encdec;
    
    
    /**
     *
     */
    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;
    
        private SmbNamedPipe pipe;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 26 11:51:07 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            return null;
        }
    
        DcerpcBinding binding;
        int max_xmit, max_recv;
    
        public DcerpcBind() {
        }
        DcerpcBind(DcerpcBinding binding, DcerpcHandle handle) {
            this.binding = binding;
            max_xmit = handle.max_xmit;
            max_recv = handle.max_recv;
            ptype = 11;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcBind.java

        private DcerpcBinding binding;
        private int max_xmit, max_recv;
    
    
        /**
         * Construct bind message
         * 
         */
        public DcerpcBind () {}
    
    
        DcerpcBind ( DcerpcBinding binding, DcerpcHandle handle ) {
            this.binding = binding;
            this.max_xmit = handle.getMaxXmit();
            this.max_recv = handle.getMaxRecv();
            this.ptype = 11;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/FileLocationTest.java

                }
            }
        }
    
    
        @Test
        public void testBindingAddress () throws DcerpcException, MalformedURLException, CIFSException, IOException {
            try ( DcerpcHandle h = DcerpcHandle
                    .getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", "testing", "\\pipe\\srvsvc", "1.2.3.4"), getContext()) ) {
    
                assertEquals("testing", h.getServer());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
    
            return drs;
        }
    
    //    FileEntry[] getDfsRoots(String domainName, NtlmPasswordAuthentication auth) throws IOException {
    //        MsrpcDfsRootEnum rpc;
    //        DcerpcHandle handle = null;
    //
    //        /* Procedure:
    //         * Lookup a DC in the target domain
    //         * Ask the DC for a referral for the domain (e.g. "\example.com")
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
Back to top