2020-12-29 17:17:10 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2022-02-25 15:29:45 +08:00
|
|
|
"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"
|
2022-02-25 15:29:45 +08:00
|
|
|
"time"
|
2020-12-29 17:17:10 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2022-02-25 15:29:45 +08:00
|
|
|
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
|
|
|
}
|