2020-12-29 17:17:10 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2022-02-25 15:29:45 +08:00
|
|
|
"fmt"
|
2020-12-29 17:17:10 +08:00
|
|
|
"github.com/shadow1ng/fscan/Plugins"
|
|
|
|
"github.com/shadow1ng/fscan/common"
|
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()
|
2020-12-29 17:17:10 +08:00
|
|
|
var Info common.HostInfo
|
|
|
|
common.Flag(&Info)
|
|
|
|
common.Parse(&Info)
|
|
|
|
Plugins.Scan(Info)
|
2022-02-25 15:29:45 +08:00
|
|
|
t := time.Now().Sub(start)
|
2022-11-02 17:29:12 +08:00
|
|
|
fmt.Printf("[*] 扫描结束,耗时: %s\n", t)
|
2020-12-29 17:17:10 +08:00
|
|
|
}
|