fscan/main.go

19 lines
341 B
Go
Raw Normal View History

2020-12-29 17:17:10 +08:00
package main
import (
"fmt"
2024-12-18 21:56:08 +08:00
"github.com/shadow1ng/fscan/Config"
2020-12-29 17:17:10 +08:00
"github.com/shadow1ng/fscan/Plugins"
"github.com/shadow1ng/fscan/common"
"time"
2020-12-29 17:17:10 +08:00
)
func main() {
start := time.Now()
2024-12-18 21:56:08 +08:00
var Info Config.HostInfo
2020-12-29 17:17:10 +08:00
common.Flag(&Info)
common.Parse(&Info)
Plugins.Scan(Info)
2023-11-13 16:23:19 +08:00
fmt.Printf("[*] 扫描结束,耗时: %s\n", time.Since(start))
2020-12-29 17:17:10 +08:00
}