You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# hack8-note_rce/Util
Util/util.go:48:6: RandString redeclared in this block
Util/randUtil.go:46:6: other declaration of RandString
note: module requires Go 1.20
---未完再更
[root@localhost noterce-server]# go build -o web-client web-client.go
[root@localhost noterce-server]# ls
config crypt go.mod middlewares packet README.md services Util web-client.go
cotroller geacon go.sum mode packet.go server.go sysinfo web-client win-server.go
[root@localhost noterce]# ./web-client
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /down --> hack8-note_rce/cotroller.Download (5 handlers)
[GIN-debug] GET /getNote --> hack8-note_rce/cotroller.GetNotes (5 handlers)
[GIN-debug] POST /shell --> hack8-note_rce/cotroller.Shell (5 handlers)
[GIN-debug] GET /RefreshHost --> hack8-note_rce/cotroller.RefreshHost (5 handlers)
[GIN-debug] GET /dir --> hack8-note_rce/cotroller.ListDirHandler (5 handlers)
[GIN-debug] POST /upload --> hack8-note_rce/cotroller.Upload (5 handlers)
[GIN-debug] GET /fileDownload --> hack8-note_rce/cotroller.FileDownload (5 handlers)
[GIN-debug] POST /cs --> hack8-note_rce/cotroller.Cs (5 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on :8080
取得阶段性胜利
fuck
The text was updated successfully, but these errors were encountered:
结论:My dog poops better than your code!!!
经过排查,已知问题:
1./mode/host.go让你吃了?
2./Util/randUtil.go
ENV:centos8;docker-compose; 尝试dns:114.114.114.114; 223.6.6.6; 8.8.8.8
尝试代理env -w GOPROXY=https://goproxy.cn,https://goproxy.io,direct
权限只读,RUN sudo echo "nameserver 223.5.5.5" > /etc/resolv.conf
docker-compose 不生效
dns:
- 223.6.6.6
- 8.8.8.8
永远卡在:
Util/NoteUtil.go:4:2: github.com/antchfx/[email protected]: Get
ENV:macOS; go1.19
3.自行手动编译
ENV:centos8+go1.20.6
他似乎正常了
然后:。。。。
和老6斗智斗勇,补全代码,来到了这一步
---未完再更
取得阶段性胜利
fuck

The text was updated successfully, but these errors were encountered: