Git Product home page Git Product logo

universaldvc's People

Contributors

earthquake avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

universaldvc's Issues

Cannot connect virtual channel by using Remote Desktop ActiveX control

UniversalDVC connects successfully with Windows Remote Control Connection.
But I can't connect it by using a windows form Remote Desktop ActiveX control.

I follow this instruction to connect to Virtual Channel plugin:
https://docs.microsoft.com/en-us/windows/win32/termserv/using-the-remote-desktop-activex-control-with-virtual-channels
What am I missing?
Please help me to verify it.

            strMachineName = "XXX.XXX.XXX.XXX";
            strUsername = username;
            strPassword = password;

            RemoteControlClientForm form = new RemoteControlClientForm();
            AxMsRdpClient9NotSafeForScripting remoteDesktopClient = form.Controls[0] as AxMsRdpClient9NotSafeForScripting;
            form.Show();

            remoteDesktopClient.DesktopHeight = Screen.PrimaryScreen.Bounds.Height;
            remoteDesktopClient.DesktopWidth = Screen.PrimaryScreen.Bounds.Width;
            remoteDesktopClient.FullScreen = true;

            remoteDesktopClient.Server = strMachineName;
            remoteDesktopClient.UserName = strUsername;
            remoteDesktopClient.AdvancedSettings8.ClearTextPassword = strPassword;
            remoteDesktopClient.AdvancedSettings3.ConnectToServerConsole = true;
            remoteDesktopClient.AdvancedSettings8.ConnectToAdministerServer = true;
            remoteDesktopClient.AdvancedSettings9.AuthenticationLevel = 2;
            remoteDesktopClient.AdvancedSettings8.EnableAutoReconnect = true;
            remoteDesktopClient.AdvancedSettings8.RedirectDrives = true;
            remoteDesktopClient.AdvancedSettings8.GrabFocusOnConnect = true;
            remoteDesktopClient.AdvancedSettings8.DisplayConnectionBar = true;
            remoteDesktopClient.AdvancedSettings8.EnableWindowsKey = 1;
            remoteDesktopClient.AdvancedSettings8.DisableCtrlAltDel = 1;
            remoteDesktopClient.AdvancedSettings8.allowBackgroundInput = 1;
            remoteDesktopClient.AdvancedSettings8.AcceleratorPassthrough = 1;
            remoteDesktopClient.AdvancedSettings8.BitmapPeristence = 1;
            remoteDesktopClient.AdvancedSettings8.Compress = 1;
            remoteDesktopClient.AdvancedSettings8.DoubleClickDetect = 1;
            remoteDesktopClient.AdvancedSettings7.EnableCredSspSupport = true;
            remoteDesktopClient.AdvancedSettings2.PerformanceFlags |= 0x00000080; //TS_PERF_ENABLE_FONT_SMOOTHING;
            remoteDesktopClient.AdvancedSettings9.PluginDlls = "UDVC-Plugin.dll"; // Nothing happen with this code
            remoteDesktopClient.Connect();

Usage question

On the server side when initiating -s, I get as far as ...

[] Setting up server socket
[
] Listening on: 127.0.0.1:31337

but it goers no further. Client side I am somewhat confused whether it should be listening or trying to connect..the default client condition is mode 0 listen (?) yet if both are listening no one is connecting? Either way the server goes no further than as you see above. What am I doing wrong?

thanks...

UDVC-Server.x64.exe crashing after first message sent

UDVC-Server.x64.exe
Universal Dynamic Virtual Channel server application

[] Setting up server socket
[
] Listening on: 127.0.0.1:31337
[+] Client connected
[] Starting thread RsWc
[
] Starting thread RcWs
[*] Waiting for threads to exit...
[-] [RsWc] recv() failed with error 0, exiting thread...

Hey man,

I tried to send a string via c# sockets (Type= Stream, TCP). This works excatly one time, and afterwards your app is shutting down, after a few seconds even the mstsc crashes.
I could not find any Information in your Documentation about what Type of Data I can send through the DVC. I use the Client in Listening mode too.

looking forward to your reply!

Could not open Dynamic Virtual Channel: -1073741822

Hi, @earthquake.

Thank you for your great efforts on this, really appreciate it!

I am facing a problem with running the UDVC server application on Windows Server 2019 Datacenter x64.
[-] Could not open Dynamic Virtual Channel: -1073741822

The error code is strange and I did not manage to find the root of the problem.
I spent the whole day googling the problem and trying to change some configurations, but without success.

So I am kindly curious, will you have some time to look into this issue and help?

Thank you very much.

Win2008 R2/Win7

This doesn't appear to work with win2008r2/win7 on the terminal server side when trying to reach SMB, win2012r2 works fine for the same thing though. I get the following error on the server exe side in client mode (-c) using the pre-compiled x64 exe, when trying to connect to SMB (tcp 445):

[-] [RsWc] WriteFile()/WaitForSingleObject() error: 998

I didn't have the same issue when forwarding to a web server on port 80, that worked fine. However I get this with SMB on the 2 separate machines I've test using win7 and 2008r2.

UDVC-Server.x64.exe has error 998, then exits with error 10054 on first packet sent

"_Visual Studio Remote Debugging UDVC-Server.x64.exe" -c -p 4018
Universal Dynamic Virtual Channel server application

[] Setting up client socket
[
] Connected to: 127.0.0.1:4018
[] Starting thread RsWc
[
] Starting thread RcWs
[*] Waiting for threads to exit...
[-] [RsWc] WriteFile()/WaitForSingleObject() error: 998
[-] [RsWc] send() failed with error 10054

error 998 happens a few seconds after starting.
error 10054 happens upon the first connect attempt.

UDVC-Server.x64 running on Windows Server 2012 R2 Standard
Addin on Windows 10 x64
(Software versions from the pre-built Releases here, and renamed with "_Visual Studio Remote Debugging" prefix.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.