mirror of
https://github.com/sairson/Yasso.git
synced 2026-11-28 07:01:39 +08:00
增加json格式结果输出
This commit is contained in:
18
test/test_json.go
Normal file
18
test/test_json.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import "Yasso/cmd"
|
||||
|
||||
func main() {
|
||||
_ = cmd.JsonOut{
|
||||
Host: "123456",
|
||||
Ports: []int{25, 12, 33, 14, 55, 80, 443},
|
||||
WeakPass: []map[string]map[string]string{
|
||||
{"redis": map[string]string{"admin": "123456"}},
|
||||
},
|
||||
HostVulcan: []map[string]string{
|
||||
{"192.168.248.1": "MS17010"},
|
||||
{"192.168.248.2": "smbghost"},
|
||||
},
|
||||
WebHosts: nil,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user