WangYihang / Platypus

:hammer: A modern multiple reverse shell sessions manager written in go
http://platypus-reverse-shell.vercel.app
GNU Lesser General Public License v3.0
1.5k stars 220 forks source link

runtime error #239

Open WinToGo1975 opened 2 days ago

WinToGo1975 commented 2 days ago

2024/09/17 21:31:08 [ebfc1987c02609527739aecc6fa65195] is listening on 12345678912345.com:13338, 0 clients »
2024/09/17 21:31:23 [Recovery] 2024/09/17 - 21:31:23 panic recovered: runtime error: index out of range [21] with length 21 runtime/panic.go:90 (0x432534) github.com/WangYihang/Platypus/internal/util/compiler/compiler.go:87 (0x58da9a) github.com/WangYihang/Platypus/internal/context/distributor.go:59 (0xa21b04) github.com/gin-gonic/gin@v1.7.2/context.go:165 (0x9a1961) github.com/gin-gonic/gin@v1.7.2/recovery.go:99 (0x9a194c) github.com/gin-gonic/gin@v1.7.2/context.go:165 (0x9a0bc6) github.com/gin-gonic/gin@v1.7.2/logger.go:241 (0x9a0ba9) github.com/gin-gonic/gin@v1.7.2/context.go:165 (0x9a00fd) github.com/gin-gonic/gin@v1.7.2/gin.go:489 (0x99fd85) github.com/gin-gonic/gin@v1.7.2/gin.go:445 (0x99f8e4) net/http/server.go:2879 (0x740e7a) net/http/server.go:1930 (0x73c527) runtime/asm_amd64.s:1581 (0x465bc0)

WangYihang commented 2 days ago

Thanks for reporting, I will check it out soon.

Astranix593 commented 2 days ago

I've had the same issue upon building main with the latest commits

WangYihang commented 2 days ago

@Astranix593 thanks for reporting, currently the latest commit is under refactoring and NOT stable.