Skip to content

Commit f53b1ac

Browse files
committed
v1.2.4
1 parent 2b6811b commit f53b1ac

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ docker run -d \
9191
```
9292

9393
可通过环境变量配置鉴权或密码;
94+
9495
**CHAINS_AUTH**: true为开启鉴权,false为关闭鉴权,默认开启鉴权
96+
9597
**CHAINS_PASS**: 指定web密码,若该变量为空则随机生成密码,默认随机生成密码
9698

9799
备注:生成功能仅使用 `8011` 端口即可,其他端口为 `exploit` 模块使用
@@ -108,14 +110,14 @@ docker logs $(docker ps | grep javachains/webchains | awk '{print $1}') | grep -
108110
11-12 06:59:53.301 INFO [main] c.a.c.w.c.SecurityConfig | | password: XSsWerJFGcCjB8FU
109111
```
110112

111-
访问 `http://your-ip:8011` 即可(使用这里的用户名密码登录)
113+
登录页面:`http://your-ip:8011`
112114

113115

114116
### 方式二:Jar包启动
115117

116118
使用 `java -jar web-chains.jar` 即可启动,每次启动后会打印出随机生成的密码
117119

118-
默认监听 0.0.0.0 ,访问 `http://your-ip:8011` 即可(使用这里的用户名密码登录)
120+
默认监听 0.0.0.0 ,登录页面:`http://your-ip:8011` (使用这里的用户名密码登录)
119121

120122
可通过环境变量设置web登录密码,例如:
121123

README_EN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ docker run -d \
9696
Authentication and password can be configured via environment variables:
9797

9898
**CHAINS_AUTH**: Set to true to enable authentication, false to disable it. Authentication is enabled by default.
99+
99100
**CHAINS_PASS**: Specifies the web password. If this variable is empty, a password will be generated randomly. By default, a password is generated randomly.
100101

101102
```shell

0 commit comments

Comments
 (0)