mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-14 05:12:36 +08:00
20 lines
357 B
Go
20 lines
357 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("[*] The scan is done, spent time: %s\n", t)
|
|
}
|