加入手工gc回收,尝试节省无用内存。

-url 支持逗号隔开。
修复一个poc模块bug。
This commit is contained in:
影舞者
2022-07-06 21:42:00 +08:00
parent 6e5642c508
commit 30df6b651f
7 changed files with 26 additions and 16 deletions
-5
View File
@@ -171,11 +171,6 @@ func exploit(address string, grooms int, payload []byte) error {
func makeKernelUserPayload(sc []byte) []byte {
// test DoublePulsar
// sc, err := ioutil.ReadFile("sc.bin")
// if err != nil {
// panic(err)
// }
// return sc
buf := bytes.Buffer{}
buf.Write(loader[:])
// write sc size