mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-24 12:11:52 +08:00
加入手工gc回收,尝试节省无用内存。
-url 支持逗号隔开。 修复一个poc模块bug。
This commit is contained in:
@@ -4,6 +4,16 @@ import (
|
||||
"flag"
|
||||
)
|
||||
|
||||
func init() {
|
||||
go func() {
|
||||
for {
|
||||
runtime.GC()
|
||||
debug.FreeOSMemory()
|
||||
time.Sleep(10 * time.Second)
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
func Banner() {
|
||||
banner := `
|
||||
___ _
|
||||
|
||||
Reference in New Issue
Block a user