@@ -5,95 +5,39 @@ databases that store the registered users or assignee's of an Internet resource,
5
5
block, or an autonomous system.
6
6
7
7
# Key Features
8
-
8
+
9
9
* Perform a WHOIS lookup for a provided IP address or domain to gain information on who is responsible for a domain or IP
10
10
11
11
# Requirements
12
+
13
+ * This plugin does not contain any requirements
12
14
13
- * _ This plugin does not contain any requirements._
15
+ # Supported Product Versions
16
+
17
+ * 2023-10-31
14
18
15
19
# Documentation
16
20
17
21
## Setup
18
-
19
- _ This plugin does not contain a connection._
22
+
23
+ * This plugin does not contain a connection.*
20
24
21
25
## Technical Details
22
26
23
27
### Actions
24
28
25
- #### Domain Lookup
26
-
27
- This action is used to retrieve data about a domain name.
28
-
29
- ##### Input
30
-
31
- | Name| Type| Default| Required| Description| Enum| Example|
32
- | ----| ----| -------| --------| -----------| ----| -------|
33
- | domain| string| None| True| Domain name to lookup| None| rapid7.com|
34
-
35
- Example input:
36
-
37
- ```
38
- {
39
- "domain": "rapid7.com"
40
- }
41
- ```
42
-
43
- ##### Output
44
-
45
- | Name| Type| Required| Description|
46
- | ----| ----| --------| -----------|
47
- | creation_date| date| False| Creation date|
48
- | dnssec| string| False| DNSSEC|
49
- | domain_status| [ ] string| False| Domain status|
50
- | expiration_date| date| False| Expiration date|
51
- | last_updated| date| False| Last updated date|
52
- | name| string| False| Domain name|
53
- | name_servers| [ ] string| False| Nameservers|
54
- | registrant_cc| string| False| Registrant country|
55
- | registrant_name| string| False| Registrant name|
56
- | registrar| string| False| Domain registrar|
57
- | registrar_abuse_contact_email| string| False| Registrar abuse contact email|
58
- | registrar_abuse_contact_phone| string| False| Registrar abuse Contact phone|
59
- | registrar_iana_id| string| False| Registrar IANA ID|
60
- | registrar_url| string| False| Registrar URL|
61
- | registrar_whois_server| string| False| Registrar WHOIS server|
62
- | registry_domain_id| string| False| Registry domain ID|
63
-
64
- Example output:
65
-
66
- ```
67
-
68
- {
69
- "registrar_whois_server": "whois.markmonitor.com",
70
- "registry_domain_id": "2138514_domain_com-vrsn",
71
- "last_updated": "2011-07-20T16:55:31",
72
- "registrar_iana_id": "292",
73
- "registrar": "MarkMonitor Inc.",
74
- "dnssec": "unsigned",
75
- "domain_status": ["clientdeleteprohibited https://icann.org/epp#clientdeleteprohibited", "clienttransferprohibited https://icann.org/epp#clienttransferprohibited", "clientupdateprohibited https://icann.org/epp#clientupdateprohibited", "serverdeleteprohibited https://icann.org/epp#serverdeleteprohibited", "servertransferprohibited https://icann.org/epp#servertransferprohibited", "serverupdateprohibited https://icann.org/epp#serverupdateprohibited"],
76
- "registrar_url": "http://www.markmonitor.com",
77
- "creation_date": "1997-09-15T04:00:00",
78
- "name_servers": ["ns2.google.com", "ns3.google.com", "ns1.google.com", "ns4.google.com"],
79
- "registrar_abuse_contact_email": "[email protected] ",
80
- "registrar_abuse_contact_phone": "+1.2083895740",
81
- "name": "google.com"
82
- }
83
-
84
- ```
85
29
86
30
#### Address Lookup
87
-
88
- This action is used to retrieve data about an IP address.
31
+
32
+ This action is used to retrieve data about an IP address
89
33
90
34
##### Input
91
35
92
36
| Name| Type| Default| Required| Description| Enum| Example|
93
- | ---- | ---- | ------- | -------- | ----------- | ---- | ------- |
37
+ | : --- | : --- | : --- | : --- | : --- | : --- | : --- |
94
38
| address| string| None| True| IP to Lookup| None| 198.51.100.100|
95
39
| registrar| string| Autodetect| False| Domain Registrar| [ 'Autodetect', 'RIPE', 'ARIN', 'LACNIC', 'APNIC'] | Autodetect|
96
-
40
+
97
41
Example input:
98
42
99
43
```
@@ -105,30 +49,29 @@ Example input:
105
49
106
50
##### Output
107
51
108
- | Name| Type| Required| Description|
109
- | ---- | ---- | -------- | ----------- |
110
- | address| string| False| Address|
111
- | cidr| string| False| CIDR|
112
- | city| string| False| City|
113
- | country| string| False| Country|
114
- | netname| string| False| Network name|
115
- | netrange| string| False| Network Range|
116
- | nettype| string| False| Network type|
117
- | org_abuse_email| string| False| Organization abuse e-mail|
118
- | org_abuse_phone| string| False| Organization abuse phone|
119
- | org_tech_email| string| False| Organization tech e-mail|
120
- | org_tech_phone| string| False| Organization tech phone|
121
- | organization| string| False| Organization|
122
- | orgname| string| False| Organization name|
123
- | postal| string| False| Postal|
124
- | regdate| string| False| Registration date|
125
- | state| string| False| State|
126
- | update| string| False| WHOIS updated date|
127
-
52
+ | Name| Type| Required| Description| Example |
53
+ | : --- | : --- | : --- | : --- | : --- |
54
+ | address| string| False| Address| 1025 Eldorado Blvd. |
55
+ | cidr| string| False| CIDR| 8.0.0.0/8 |
56
+ | city| string| False| City| Broomfield |
57
+ | country| string| False| Country| US |
58
+ | netname| string| False| Network name| LVLT-ORG-8-8 |
59
+ | netrange| string| False| Network Range| 8.0.0.0 - 8.255.255.255 |
60
+ | nettype| string| False| Network type| Direct Allocation |
61
+ | org_abuse_email
| string
| False
| Organization abuse e-mail
| [email protected] |
62
+ | org_abuse_phone| string| False| Organization abuse phone| +1-877-453-8353 |
63
+ | org_tech_email
| string
| False
| Organization tech e-mail
| [email protected] |
64
+ | org_tech_phone| string| False| Organization tech phone| +1-877-453-8353 |
65
+ | organization| string| False| Organization| Level 3 Communications, Inc. (LVLT) |
66
+ | orgname| string| False| Organization name| Level 3 Communications, Inc. |
67
+ | postal| string| False| Postal| 80021 |
68
+ | regdate| string| False| Registration date| 1992-12-01 |
69
+ | state| string| False| State| CO |
70
+ | update| string| False| WHOIS updated date| 2012-02-24 |
71
+
128
72
Example output:
129
73
130
74
```
131
-
132
75
{
133
76
"address": "1025 Eldorado Blvd.",
134
77
"cidr": "8.0.0.0/8",
@@ -143,28 +86,105 @@ Example output:
143
86
"org_tech_phone": "+1-877-453-8353 ",
144
87
"organization": "Level 3 Communications, Inc. (LVLT)",
145
88
"orgname": "Level 3 Communications, Inc.",
146
- "postal": " 80021" ,
89
+ "postal": 80021,
147
90
"regdate": "1992-12-01",
148
91
"state": "CO",
149
92
"update": "2012-02-24"
150
93
}
94
+ ```
95
+
96
+ #### Domain Lookup
97
+
98
+ This action is used to retrieve data about a domain name
99
+
100
+ ##### Input
101
+
102
+ | Name| Type| Default| Required| Description| Enum| Example|
103
+ | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
104
+ | domain| string| None| True| Domain name to lookup| None| rapid7.com|
105
+
106
+ Example input:
151
107
108
+ ```
109
+ {
110
+ "domain": "rapid7.com"
111
+ }
152
112
```
153
113
154
- ### Triggers
114
+ ##### Output
115
+
116
+ | Name| Type| Required| Description| Example|
117
+ | :--- | :--- | :--- | :--- | :--- |
118
+ | creation_date| date| False| Creation date| 1997-09-15T04:00:00|
119
+ | dnssec| string| False| DNSSEC| unsigned|
120
+ | domain_status| [ ] string| False| Domain status| [ "clientdeleteprohibited https://icann.org/epp#clientdeleteprohibited ", "clienttransferprohibited https://icann.org/epp#clienttransferprohibited ", "clientupdateprohibited https://icann.org/epp#clientupdateprohibited ", "serverdeleteprohibited https://icann.org/epp#serverdeleteprohibited ", "servertransferprohibited https://icann.org/epp#servertransferprohibited ", "serverupdateprohibited https://icann.org/epp#serverupdateprohibited" ] |
121
+ | expiration_date| date| False| Expiration date||
122
+ | last_updated| date| False| Last updated date||
123
+ | name| string| False| Domain name| google.com|
124
+ | name_servers| [ ] string| False| Nameservers| [ "ns2.google.com", "ns3.google.com", "ns1.google.com", "ns4.google.com"] |
125
+ | registrant_cc| string| False| Registrant country| US|
126
+ | registrant_name| string| False| Registrant name||
127
+ | registrar| string| False| Domain registrar| MarkMonitor Inc.|
128
+ | registrar_abuse_contact_email
| string
| False
| Registrar abuse contact email
| [email protected] |
129
+ | registrar_abuse_contact_phone| string| False| Registrar abuse Contact phone| +1.2083895740|
130
+ | registrar_iana_id| string| False| Registrar IANA ID| 292|
131
+ | registrar_url| string| False| Registrar URL| http://www.markmonitor.com |
132
+ | registrar_whois_server| string| False| Registrar WHOIS server| whois.markmonitor.com|
133
+ | registry_domain_id| string| False| Registry domain ID| 2138514_domain_com-vrsn|
134
+
135
+ Example output:
155
136
156
- _ This plugin does not contain any triggers._
137
+ ```
138
+ {
139
+ "creation_date": "1997-09-15T04:00:00",
140
+ "dnssec": "unsigned",
141
+ "domain_status": [
142
+ "clientdeleteprohibited https://icann.org/epp#clientdeleteprohibited",
143
+ "clienttransferprohibited https://icann.org/epp#clienttransferprohibited",
144
+ "clientupdateprohibited https://icann.org/epp#clientupdateprohibited",
145
+ "serverdeleteprohibited https://icann.org/epp#serverdeleteprohibited",
146
+ "servertransferprohibited https://icann.org/epp#servertransferprohibited",
147
+ "serverupdateprohibited https://icann.org/epp#serverupdateprohibited"
148
+ ],
149
+ "expiration_date": "",
150
+ "last_updated": "",
151
+ "name": "google.com",
152
+ "name_servers": [
153
+ "ns2.google.com",
154
+ "ns3.google.com",
155
+ "ns1.google.com",
156
+ "ns4.google.com"
157
+ ],
158
+ "registrant_cc": "US",
159
+ "registrant_name": "",
160
+ "registrar": "MarkMonitor Inc.",
161
+ "registrar_abuse_contact_email": "[email protected] ",
162
+ "registrar_abuse_contact_phone": "+1.2083895740",
163
+ "registrar_iana_id": 292,
164
+ "registrar_url": "http://www.markmonitor.com",
165
+ "registrar_whois_server": "whois.markmonitor.com",
166
+ "registry_domain_id": "2138514_domain_com-vrsn"
167
+ }
168
+ ```
169
+ ### Triggers
170
+
171
+ * This plugin does not contain any triggers.*
157
172
158
- ### Custom Output Types
173
+ ### Tasks
174
+
175
+ * This plugin does not contain any tasks.*
159
176
160
- _ This plugin does not contain any custom output types._
177
+ ### Custom Types
178
+
179
+ * This plugin does not contain any custom output types.*
161
180
162
181
## Troubleshooting
163
182
164
183
Multiple records can be returned by the server, this plugin currently only returns the first unique records found.
165
184
166
185
# Version History
167
186
187
+ * 3.1.1 - Add empty ` __init__.py ` file to ` unit_test ` folder | Refresh with new tooling
168
188
* 3.1.0 - Add support for ` .monster ` and ` .nl ` domains
169
189
* 3.0.3 - Add PluginException in Domain and Address action when response is empty
170
190
* 3.0.2 - Support non-UTF-8 responses in the Address action
@@ -193,6 +213,8 @@ Multiple records can be returned by the server, this plugin currently only retur
193
213
194
214
# Links
195
215
196
- ## References
216
+ * [ WHOIS ] ( https://en.wikipedia.org/wiki/WHOIS )
197
217
218
+ ## References
219
+
198
220
* [ WHOIS] ( https://en.wikipedia.org/wiki/WHOIS )
0 commit comments