fscan/main.go

20 lines
357 B
Go
Raw Normal View History

2020-12-29 17:17:10 +08:00
package main
import (
"fmt"
"time"
2020-12-29 17:17:10 +08:00
"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)
2023-07-26 12:35:34 +03:00
fmt.Printf("[*] The scan is done, spent time: %s\n", t)
2020-12-29 17:17:10 +08:00
}