fscan/main.go

19 lines
303 B
Go
Raw Permalink Normal View History

2020-12-29 01:17:10 -08:00
package main
import (
"fmt"
2023-08-03 21:37:55 -07:00
"example.com/fxscan/Plugins"
"example.com/fxscan/common"
"time"
2020-12-29 01:17:10 -08:00
)
func main() {
start := time.Now()
2020-12-29 01:17:10 -08:00
var Info common.HostInfo
common.Flag(&Info)
common.Parse(&Info)
Plugins.Scan(Info)
t := time.Now().Sub(start)
2023-08-03 21:37:55 -07:00
fmt.Printf("[*] 扫描已结束,耗时: %s\n", t)
2020-12-29 01:17:10 -08:00
}