{"id":17226655,"url":"https://github.com/allanpk716/premote-plugin-smartprotocol","last_synced_at":"2025-10-04T19:15:42.854Z","repository":{"id":53461772,"uuid":"352582046","full_name":"allanpk716/Premote-Plugin-SmartProtocol","owner":"allanpk716","description":"PRemote Plugin SmartProtocol","archived":false,"fork":false,"pushed_at":"2021-03-30T12:11:46.000Z","size":209,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T15:44:11.180Z","etag":null,"topics":["ftp","plugin","premote","protocol","rdp","ssh","vnc"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allanpk716.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-29T09:12:11.000Z","updated_at":"2021-03-30T12:11:49.000Z","dependencies_parsed_at":"2022-08-18T01:55:12.304Z","dependency_job_id":null,"html_url":"https://github.com/allanpk716/Premote-Plugin-SmartProtocol","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allanpk716%2FPremote-Plugin-SmartProtocol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allanpk716%2FPremote-Plugin-SmartProtocol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allanpk716%2FPremote-Plugin-SmartProtocol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allanpk716%2FPremote-Plugin-SmartProtocol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allanpk716","download_url":"https://codeload.github.com/allanpk716/Premote-Plugin-SmartProtocol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245514739,"owners_count":20628039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ftp","plugin","premote","protocol","rdp","ssh","vnc"],"created_at":"2024-10-15T04:16:51.006Z","updated_at":"2025-10-04T19:15:37.773Z","avatar_url":"https://github.com/allanpk716.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PRemote Plugin SmartProtocol\n\n\u003e PS，If you want to try this plug-in，you need update your [PRemote](https://github.com/VShawn/PRemoteM) to [**Inside Test Version**](https://github.com/allanpk716/PRemoteM/releases/tag/0.5.10-sp).\n\u003e\n\u003e It won't get your password!\n\n[[中文]](readmeThings/README_CN.md)\n\nThis is a plug-in use by [PRemote](https://github.com/VShawn/PRemoteM) . It will be adjusted according to the use.\n\nSupport Protocol. see [go-protocol-detector](https://github.com/allanpk716/go-protocol-detector):\n\n* RDP\n* FTP\n* SFTP\n* SSH\n* VNC\n* Telnet\n\n## Why\n\nIn some cases, [PRemote](https://github.com/VShawn/PRemoteM) need create a lot of server connection items. like:\n\n![00](readmeThings/pics/00.png)\n\nThis is just two servers,  but your may connect it in LAN, or mapping to local host by  [FRP](https://github.com/fatedier/frp) , like：\n\n![01](readmeThings/pics/01.png)\n\nso [Premote-Plugin-SmartProtocol](https://github.com/allanpk716/Premote-Plugin-SmartProtocol) can give you another options.\n\n## How To Use\n\n### Work with PRemote\n\nif you have a server, it can be connected by 2 ways：\n\n| IP:Port             | Connection Type   | Protocol |\n| ------------------- | ----------------- | -------- |\n| 127.0.0.1:53391     | FRP to local host | RDP      |\n| 192.168.50.188:3389 | LAN               | RDP      |\n\n1. Download [PRemote Test Version - branch - dev_SmartProtocol](https://github.com/allanpk716/PRemoteM/releases/tag/0.5.10-sp), you can download Release.zip. uzip to your localtion；\n\n2. download this plug-in, from  [Release](https://github.com/allanpk716/Premote-Plugin-SmartProtocol/releases) , Premote-Plugin-SmartProtocol.zip ( also you can build it all by yourself )；\n\n3. uzip 2 files to PRemote folder ( Premote-Plugin-SmartProtocol.exe、SPConfig.yaml );\n\n4. edit SPConfig.yaml file\n\n   ```yaml\n   SPConfigs:\n     Code:\n       ProtocolName: RDP\n       TimeOut: 1000 # ms\n       MultiAddress:\n         - 127.0.0.1:53391\n         - 192.168.50.188:3389\n   ```\n\n    ProtocolName can be ( Case matters ):\n\n    * RDP\n    * FTP\n    * SFTP\n    * SSH\n    * VNC\n    * Telnet\n\n5. create a server connection item in [PRemote](https://github.com/VShawn/PRemoteM) , like：\n\n   ![02](readmeThings/pics/02.png)\n\n   The important thing is **Address**，must be **SP://** , so fill your user name and password .\n\n6. So you can call  **Code_SP**  by PRemote ；\n\n### Work in CMD\n\nInput\n\n```powershell\n.\\Premote-Plugin-SmartProtocol.exe RDP SP://Code\n```\n\nOutput\n\n```powershell\nIP:Port\n```\n\n## How To Work\n\nPRemote will send the address( **SP://**  ) to PPSP(Premote-Plugin-SmartProtocol) , then PPSP will reply \"IP:Port\" which define in SPConfig.yaml.\n\n![03](readmeThings/pics/03.png)\n\n## How To Build\n\n```bash\ngo build\n```\n\n## Upate\n\n* 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.\n\n## TODO\n\nImprove usability with [PRemote](https://github.com/VShawn/PRemoteM) .\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallanpk716%2Fpremote-plugin-smartprotocol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallanpk716%2Fpremote-plugin-smartprotocol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallanpk716%2Fpremote-plugin-smartprotocol/lists"}