@@ -41,7 +41,7 @@ These are optional parameters that can alter the behaviour of the module. These
41
41
},
42
42
"scripts" : [
43
43
{
44
- "results" : [" string" ],
44
+ "results" : [" string OR object " ],
45
45
"id" : " string" ,
46
46
"output" : " string"
47
47
}
@@ -68,10 +68,10 @@ This module provides the following data (if available):
68
68
* ** hostname** : Hostname (if any) offered by the service
69
69
* ** extrainfo** : Extra information extracted, can be an OS, version of a framework, etc
70
70
* ** cpe** : List of Common Platform Enumeration tags, if available
71
- * ** scripts** : Extra information obtained by a set os scripts (results vary with the service found)
72
- * ** results** : Formatted output of the script
71
+ * ** scripts** : Extra information obtained by a set of scripts (results vary with the service found)
73
72
* ** id** : Identifier of the script that generated the information
74
73
* ** output** : Raw output of the script
74
+ * ** results** : Formatted output of the script (format may vary)
75
75
76
76
## Service Event Example
77
77
@@ -106,12 +106,15 @@ This module provides the following data (if available):
106
106
"cpe" : [" cpe:/a:igor_sysoev:nginx:1.4.6" , " cpe:/o:linux:linux_kernel" ]
107
107
},
108
108
"scripts" : [
109
- {"results" : [" GET" , " HEAD" ],
110
- "id" : " http-methods" ,
111
- "output" : " \n Supported Methods: GET HEAD" },
112
- {"results" : [" nginx/1.4.6 (Ubuntu)" ],
113
- "id" : " http-server-header" ,
114
- "output" : " nginx/1.4.6 (Ubuntu)" },
109
+ {"id" : " http-methods" ,
110
+ "output" : " \n Supported Methods: GET HEAD" ,
111
+ "results" : [" GET" , " HEAD" ]},
112
+ {"id" : " http-server-header" ,
113
+ "output" : " nginx/1.4.6 (Ubuntu)" ,
114
+ "results" : [" nginx/1.4.6 (Ubuntu)" ]}
115
+ {"id" : " clock-skew" ,
116
+ "output" : " mean: 0s, deviation: 0s, median: 0s" ,
117
+ "results" : [{"mean" :" 0" ,"stddev" :" 0" ,"median" :" 0" }]}
115
118
]
116
119
}
117
120
}
0 commit comments