2020-12-29 17:17:10 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
2022-02-25 15:29:45 +08:00
|
|
|
"fmt"
|
2023-07-26 12:10:27 +03:00
|
|
|
"time"
|
|
|
|
|
|
2020-12-29 17:17:10 +08:00
|
|
|
"github.com/shadow1ng/fscan/Plugins"
|
|
|
|
|
"github.com/shadow1ng/fscan/common"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func main() {
|
2022-02-25 15:29:45 +08:00
|
|
|
start := time.Now()
|
2023-07-26 12:10:27 +03:00
|
|
|
var config common.InConfig
|
|
|
|
|
common.Flag(&config)
|
|
|
|
|
common.Parse(&config)
|
|
|
|
|
Plugins.Scan(config.HostInfo, config.Flags)
|
2022-02-25 15:29:45 +08:00
|
|
|
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
|
|
|
}
|