Skip to content

allanpk716/Premote-Plugin-SmartProtocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRemote Plugin SmartProtocol

PS,If you want to try this plug-in,you need update your PRemote to Inside Test Version.

It won't get your password!

[中文]

This is a plug-in use by PRemote . It will be adjusted according to the use.

Support Protocol. see go-protocol-detector:

  • RDP
  • FTP
  • SFTP
  • SSH
  • VNC
  • Telnet

Why

In some cases, PRemote need create a lot of server connection items. like:

00

This is just two servers, but your may connect it in LAN, or mapping to local host by FRP , like:

01

so Premote-Plugin-SmartProtocol can give you another options.

How To Use

Work with PRemote

if you have a server, it can be connected by 2 ways:

IP:Port Connection Type Protocol
127.0.0.1:53391 FRP to local host RDP
192.168.50.188:3389 LAN RDP
  1. Download PRemote Test Version - branch - dev_SmartProtocol, you can download Release.zip. uzip to your localtion;

  2. download this plug-in, from Release , Premote-Plugin-SmartProtocol.zip ( also you can build it all by yourself );

  3. uzip 2 files to PRemote folder ( Premote-Plugin-SmartProtocol.exe、SPConfig.yaml );

  4. edit SPConfig.yaml file

    SPConfigs:
      Code:
        ProtocolName: RDP
        TimeOut: 1000 # ms
        MultiAddress:
          - 127.0.0.1:53391
          - 192.168.50.188:3389

    ProtocolName can be ( Case matters ):

    • RDP
    • FTP
    • SFTP
    • SSH
    • VNC
    • Telnet
  5. create a server connection item in PRemote , like:

    02

    The important thing is Address,must be SP:// , so fill your user name and password .

  6. So you can call Code_SP by PRemote ;

Work in CMD

Input

.\Premote-Plugin-SmartProtocol.exe RDP SP://Code

Output

IP:Port

How To Work

PRemote will send the address( SP:// ) to PPSP(Premote-Plugin-SmartProtocol) , then PPSP will reply "IP:Port" which define in SPConfig.yaml.

03

How To Build

go build

Upate

  • v0.2.0 -- A new setup interface UseCommonportCheck allows you to use the usual port detection scheme to determine if it is valid. Because the specific protocol is not detected, if there is a local proxy port, the feedback will be faster than the LAN. It is recommended that you manually enable temporary use when the tool detects a problem with some version of some protocol. Not recommended opening (set true) by default.

TODO

Improve usability with PRemote .

About

PRemote Plugin SmartProtocol

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages