mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-25 12:41:53 +08:00
refacor: 结构化修改
This commit is contained in:
@@ -3,14 +3,13 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/shadow1ng/fscan/Common"
|
||||
"github.com/shadow1ng/fscan/Config"
|
||||
"github.com/shadow1ng/fscan/Core"
|
||||
"time"
|
||||
)
|
||||
|
||||
func main() {
|
||||
start := time.Now()
|
||||
var Info Config.HostInfo
|
||||
var Info Common.HostInfo
|
||||
Common.Flag(&Info)
|
||||
Common.Parse(&Info)
|
||||
Core.Scan(Info)
|
||||
|
||||
Reference in New Issue
Block a user