Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 865ccfd

Browse files
committedAug 8, 2018
documentation fixes
1 parent f7a014f commit 865ccfd

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed
 

‎modules/service.md

+12-9
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ These are optional parameters that can alter the behaviour of the module. These
4141
},
4242
"scripts": [
4343
{
44-
"results": ["string"],
44+
"results": ["string OR object"],
4545
"id": "string",
4646
"output": "string"
4747
}
@@ -68,10 +68,10 @@ This module provides the following data (if available):
6868
* **hostname**: Hostname (if any) offered by the service
6969
* **extrainfo**: Extra information extracted, can be an OS, version of a framework, etc
7070
* **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)
7372
* **id**: Identifier of the script that generated the information
7473
* **output**: Raw output of the script
74+
* **results**: Formatted output of the script (format may vary)
7575

7676
## Service Event Example
7777

@@ -106,12 +106,15 @@ This module provides the following data (if available):
106106
"cpe": ["cpe:/a:igor_sysoev:nginx:1.4.6", "cpe:/o:linux:linux_kernel"]
107107
},
108108
"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"}]}
115118
]
116119
}
117120
}

‎modules/web.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ These are optional parameters that can alter the behaviour of the module. These
3838
},
3939
"headers": {
4040
"string": "string"
41-
}
4241
},
4342
"html": "string",
4443
"screenshot": "string"
@@ -50,7 +49,7 @@ These are optional parameters that can alter the behaviour of the module. These
5049
### Contents of the fields:
5150

5251
* apps - Request made by the module
53-
* name - Name of the technoloy
52+
* name - Name of the technology
5453
* confidence - Confidence level for the match
5554
* version - Version of the technology
5655
* categories - Categories of the technology
@@ -74,7 +73,7 @@ These are optional parameters that can alter the behaviour of the module. These
7473
"version": "2.2.26",
7574
"categories": [
7675
{
77-
"name": "web-servers",
76+
"name": "Web Servers",
7877
"priority": 7
7978
}
8079
]
@@ -85,7 +84,7 @@ These are optional parameters that can alter the behaviour of the module. These
8584
"version": "0.9.8e",
8685
"categories": [
8786
{
88-
"name": "web-server-extensions",
87+
"name": "Web Server Extensions",
8988
"priority": "5"
9089
}
9190
]
@@ -96,7 +95,7 @@ These are optional parameters that can alter the behaviour of the module. These
9695
"version": "",
9796
"categories": [
9897
{
99-
"name": "operating-systems",
98+
"name": "Operating Systems",
10099
"priority": "5"
101100
}
102101
]
@@ -107,7 +106,7 @@ These are optional parameters that can alter the behaviour of the module. These
107106
"version": "2.2.26",
108107
"categories": [
109108
{
110-
"name": "web-server-extensions",
109+
"name": "Web Server Extensions",
111110
"priority": "5"
112111
}
113112
]

0 commit comments

Comments
 (0)