mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-13 21:02:44 +08:00
20 lines
348 B
Go
20 lines
348 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"time"
|
|
|
|
"github.com/shadow1ng/fscan/Plugins"
|
|
"github.com/shadow1ng/fscan/common"
|
|
)
|
|
|
|
func main() {
|
|
start := time.Now()
|
|
var config common.InConfig
|
|
common.Flag(&config)
|
|
common.Parse(&config)
|
|
Plugins.Scan(config.HostInfo, config.Flags)
|
|
t := time.Now().Sub(start)
|
|
fmt.Printf("[*] 扫描结束,耗时: %s\n", t)
|
|
}
|