Merge remote-tracking branch 'au/main' into refactoring

This commit is contained in:
ph
2023-07-26 12:10:27 +03:00
11 changed files with 71 additions and 23 deletions
+19
View File
@@ -0,0 +1,19 @@
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)
}