Skip to content

Commit

Permalink
[*]增加关键字指纹库,现在一共有786条了,优化载入说明
Browse files Browse the repository at this point in the history
  • Loading branch information
lcvvvv committed Apr 26, 2021
1 parent 62fbd7b commit 257691b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ func Start() {
time.Sleep(time.Second * 1) //预留一秒钟加载时间

//STEP3:开始扫描所有开放端口
slog.Warningf("开始扫描所有开放端口,总协程数为:[%d]...", app.Config.Threads)
go scanMain() //启动扫描主程序
time.Sleep(time.Second * 1) //预留一秒钟加载时间

Expand All @@ -47,6 +46,7 @@ func scanMain() {
if HostPortQueue.Len() < thread {
thread = HostPortQueue.Len()
}
slog.Warningf("开始扫描所有开放端口,总协程数为:[%d]...", thread)
for i := 0; i <= thread; i++ {
threadHostPortGroup.Add(1)
threadHostPortGroupNum++
Expand Down

0 comments on commit 257691b

Please sign in to comment.