File tree 1 file changed +16
-14
lines changed
1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -98,13 +98,13 @@ def test_scan(self):
98
98
"service_product" : "Nginx"
99
99
}
100
100
],
101
- "os" : [
102
- "os_name"
103
- ] ,
104
- "hops" : [
105
- { "ipaddr " : "10.0.0.0" , "host" : "host_1" } ,
106
- { "ipaddr " : "10.0.0.1" , "host" : "host_2" },
107
- ] ,
101
+ "os" : {
102
+ "1" : " os_name"
103
+ } ,
104
+ "hops" : {
105
+ "1 " : "10.0.0.0" ,
106
+ "2 " : "10.0.0.1"
107
+ } ,
108
108
"osfingerprint" : "os_fingerprint" ,
109
109
"last_boot" : "12345678"
110
110
}
@@ -150,13 +150,15 @@ def test_scan(self):
150
150
"service_product" : "Nginx"
151
151
}
152
152
],
153
- "os" : [
154
- "os_1" , "os_2" , "os_3"
155
- ],
156
- "hops" : [
157
- {"ipaddr" : "10.0.0.0" , "host" : "host_1" },
158
- {"ipaddr" : "10.0.0.1" , "host" : "host_2" },
159
- ],
153
+ "os" : {
154
+ "1" : "os_1" ,
155
+ "2" : "os_2" ,
156
+ "3" : "os_3"
157
+ },
158
+ "hops" : {
159
+ "1" : "10.0.0.0" ,
160
+ "2" : "10.0.0.1"
161
+ },
160
162
"osfingerprint" : "os_fingerprint" ,
161
163
"last_boot" : "12345678"
162
164
}
You can’t perform that action at this time.
0 commit comments