mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-22 03:10:42 +08:00
Merge remote-tracking branch 'au/main' into refactoring
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user