mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-04 20:37:56 +08:00
【fix】md
This commit is contained in:
parent
071b844d68
commit
e7df027d65
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
wu-lazy-cloud-network
|
wu-lazy-cloud-network
|
||||||
是一款基于([wu-framework-parent](https://gitee.com/wujiawei1207537021/wu-framework-parent))孵化出的项目,内部使用Lazy
|
是一款基于([wu-framework-parent](https://gitee.com/wujiawei1207537021/wu-framework-parent))孵化出的项目,内部使用Lazy
|
||||||
ORM操作数据库,使用环境JDK17 Spring Boot 3.0.2。
|
ORM操作数据库,使用环境JDK17 Spring Boot 3.0.2。的网络穿透、渗透工具支持Tcp、Http、Socks
|
||||||
主要功能:
|
主要功能:
|
||||||
- 服务端渗透客户端(网络穿透),对于没有公网IP的服务进行公网IP映射
|
- 服务端渗透客户端(网络穿透),对于没有公网IP的服务进行公网IP映射
|
||||||
- 
|
- 
|
||||||
@ -100,7 +100,7 @@ ORM操作数据库,使用环境JDK17 Spring Boot 3.0.2。
|
|||||||
JAVA >=13
|
JAVA >=13
|
||||||
MAVEN
|
MAVEN
|
||||||
|
|
||||||
### 启动
|
### 启动[install.md](install.md)
|
||||||
|
|
||||||
docker启动
|
docker启动
|
||||||
|
|
||||||
@ -109,6 +109,7 @@ ORM操作数据库,使用环境JDK17 Spring Boot 3.0.2。
|
|||||||
http://127.0.0.1:18080/swagger-ui/index.html
|
http://127.0.0.1:18080/swagger-ui/index.html
|
||||||
|
|
||||||
源码启动
|
源码启动
|
||||||
|
### 代理工具使用[Proxy.md](Proxy.md)
|
||||||
|
|
||||||
#### 页面操作
|
#### 页面操作
|
||||||
|
|
||||||
|
28
install.md
Normal file
28
install.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#### docker环境安装wlcn
|
||||||
|
##### 启动服务端
|
||||||
|
- 6001端口 webui
|
||||||
|
- 7001端口 tcp连接端口
|
||||||
|
- 8001端口 http代理端口
|
||||||
|
- 9001端口 socks代理端口
|
||||||
|
- 1001端口 自定义需要代理到客户端端口
|
||||||
|
- 打开浏览器访问界面 http://127.0.0.1:6001/netty-server-ui/index.html
|
||||||
|
|
||||||
|
```shell
|
||||||
|
|
||||||
|
docker run -d -it -p 6001:6001 -p 7001:7001 -p 8001:8001 -p 9001:9001 --name wlcn-s registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-server:1.3.1-JDK17-SNAPSHOT
|
||||||
|
|
||||||
|
```
|
||||||
|
##### 启动客户端
|
||||||
|
|
||||||
|
- 6004端口 webui
|
||||||
|
- 8001端口 http代理端口
|
||||||
|
- 9001端口 socks代理端口
|
||||||
|
- 环境变量
|
||||||
|
- spring.lazy.netty.client.inet-host 服务端IP
|
||||||
|
- spring.lazy.netty.client.inet-port 服务端tcp端口
|
||||||
|
- spring.lazy.netty.client.client-id 客户端ID
|
||||||
|
- 打开浏览器访问界面 http://127.0.0.1:6004/netty-client-local-ui/index.html
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker run -d -it --privileged -p 6004:6004 --name wlcn-c --restart=always -e spring.lazy.netty.client.inet-host=192.168.xx.xx -e spring.lazy.netty.client.inet-port=7001 -e spring.lazy.netty.client.client-id="wlcn-c" registry.cn-hangzhou.aliyuncs.com/wu-lazy/wu-lazy-cloud-heartbeat-client-start:1.3.1-JDK17-SNAPSHOT
|
||||||
|
```
|
@ -0,0 +1,65 @@
|
|||||||
|
package org.framework.lazy.cloud.network.heartbeat.server.ui;
|
||||||
|
|
||||||
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
import org.wu.framework.web.ui.LazyUI;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* netty 客户端本地UI
|
||||||
|
*/
|
||||||
|
@Configuration
|
||||||
|
public class WLCNUI implements LazyUI {
|
||||||
|
public static final String UI_URL = "/wlcn/**";
|
||||||
|
public static final String UI_URL_INDEX = "/wlcn/index.html";
|
||||||
|
public static final String CLASSPATH = "classpath:/netty-server-ui/v1/";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否支持 default false
|
||||||
|
* <p>
|
||||||
|
* pathPatterns 格式 /acw-client-ui/**
|
||||||
|
* locations 格式 classpath:/acw-local-client/v1/
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @return true、false
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public boolean support() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return UI 描述
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String desc() {
|
||||||
|
return "Netty 服务端 UI";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return UI 访问的path
|
||||||
|
* 例如:/acw-client-ui/**
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String pathPatterns() {
|
||||||
|
return UI_URL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 返回页面首页地址
|
||||||
|
*
|
||||||
|
* @return String
|
||||||
|
* 例如 /acw-client-ui/index.html
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String index() {
|
||||||
|
return UI_URL_INDEX;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return 文件资源
|
||||||
|
* 例如:classpath:/acw-local-client/v1/
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String locations() {
|
||||||
|
return CLASSPATH;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user