fscan/main.go

18 lines
298 B
Go
Raw Normal View History

2020-12-29 17:17:10 +08:00
package main
import (
"fmt"
2024-12-18 22:00:18 +08:00
"github.com/shadow1ng/fscan/Common"
2024-12-19 15:24:10 +08:00
"github.com/shadow1ng/fscan/Core"
"time"
2020-12-29 17:17:10 +08:00
)
func main() {
start := time.Now()
2024-12-19 16:15:53 +08:00
var Info Common.HostInfo
2024-12-18 22:00:18 +08:00
Common.Flag(&Info)
Common.Parse(&Info)
2024-12-19 15:24:10 +08:00
Core.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
}