Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
72b0957
feature(finding-schema): Added `identified at` parameter to amass fin…
Ilyesbdlala Nov 7, 2022
c8d519f
feature(finding-schema): Added `identified at` parameter to cmseek fi…
Ilyesbdlala Nov 7, 2022
11cdc22
feature(finding-schema): Added `identified at` parameter to kubeaudit…
Ilyesbdlala Nov 7, 2022
33455d7
feature(finding-schema): Added `identified at` parameter to ffuf finding
Ilyesbdlala Dec 19, 2022
feac22f
feature(finding-schema): Added `identified at` parameter to nuclei fi…
Ilyesbdlala Dec 19, 2022
18bd4b7
feature(finding-schema): Added `identified at` parameter to ssh-scan …
Ilyesbdlala Dec 28, 2022
a65fafd
feature(finding-schema): Added `identified at` parameter to sslyze fi…
Ilyesbdlala Dec 28, 2022
08a713b
feature(finding-schema): Added `identified at` parameter to wpscan fi…
Ilyesbdlala Dec 28, 2022
d811039
feature(finding-schema):changed var to const to adhere to new js stan…
Ilyesbdlala Jan 9, 2023
62e5b01
fix(finding-schema): enforced ISO 8601 timestamp format for amass
Ilyesbdlala Jan 11, 2023
8be9a08
fix(finding-schema): enforced ISO 8601 timestamp format for cmseek
Ilyesbdlala Jan 11, 2023
d904f32
fix(finding-schema): enforced ISO 8601 timestamp format for ffuf
Ilyesbdlala Jan 11, 2023
20583a4
fix(finding-schema): enforced ISO 8601 timestamp format for nuclei
Ilyesbdlala Jan 11, 2023
40791cd
fix(finding-schema): enforced ISO 8601 timestamp format for sslyze
Ilyesbdlala Jan 11, 2023
b1530bf
fix(finding-schema): fixed inconsitent conversion of timestamp betwee…
Ilyesbdlala Jan 11, 2023
44609a9
Fixed sslyze snapshot for jest 29 format
Ilyesbdlala Feb 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions scanners/amass/parser/__snapshots__/parser.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain grafana.securecodebox.io",
"identified_at": "2019-10-04T21:35:19.000Z",
"location": "grafana.securecodebox.io",
"name": "grafana.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -41,6 +42,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain kibana.securecodebox.io",
"identified_at": "2019-10-04T21:35:21.000Z",
"location": "kibana.securecodebox.io",
"name": "kibana.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -63,6 +65,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain build.securecodebox.io",
"identified_at": "2019-10-04T21:35:21.000Z",
"location": "build.securecodebox.io",
"name": "build.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -85,6 +88,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain monitoring.securecodebox.io",
"identified_at": "2019-10-04T21:35:21.000Z",
"location": "monitoring.securecodebox.io",
"name": "monitoring.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -107,6 +111,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain ui.securecodebox.io",
"identified_at": "2019-10-04T21:35:21.000Z",
"location": "ui.securecodebox.io",
"name": "ui.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -129,6 +134,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain juiceshop.securecodebox.io",
"identified_at": "2019-10-04T21:35:21.000Z",
"location": "juiceshop.securecodebox.io",
"name": "juiceshop.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -151,6 +157,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain wpscan.securecodebox.io",
"identified_at": "2019-10-04T21:35:21.000Z",
"location": "wpscan.securecodebox.io",
"name": "wpscan.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -173,6 +180,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain hack.securecodebox.io",
"identified_at": "2019-10-04T21:35:21.000Z",
"location": "hack.securecodebox.io",
"name": "hack.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -195,6 +203,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain spider.securecodebox.io",
"identified_at": "2019-10-04T21:35:22.000Z",
"location": "spider.securecodebox.io",
"name": "spider.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -217,6 +226,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain www.securecodebox.io",
"identified_at": "2019-10-04T21:35:22.000Z",
"location": "www.securecodebox.io",
"name": "www.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -239,6 +249,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain rancher.securecodebox.io",
"identified_at": "2019-10-04T21:35:22.000Z",
"location": "rancher.securecodebox.io",
"name": "rancher.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -261,6 +272,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain backend.securecodebox.io",
"identified_at": "2019-10-04T21:35:22.000Z",
"location": "backend.securecodebox.io",
"name": "backend.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -283,6 +295,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain zap.securecodebox.io",
"identified_at": "2019-10-04T21:35:22.000Z",
"location": "zap.securecodebox.io",
"name": "zap.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -305,6 +318,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain bodgeit.securecodebox.io",
"identified_at": "2019-10-04T21:35:22.000Z",
"location": "bodgeit.securecodebox.io",
"name": "bodgeit.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -327,6 +341,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain api-management.securecodebox.io",
"identified_at": "2019-10-04T21:35:22.000Z",
"location": "api-management.securecodebox.io",
"name": "api-management.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -349,6 +364,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain dvwa.securecodebox.io",
"identified_at": "2019-10-04T21:35:23.000Z",
"location": "dvwa.securecodebox.io",
"name": "dvwa.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -371,6 +387,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain prometheus.securecodebox.io",
"identified_at": "2019-10-04T21:35:23.000Z",
"location": "prometheus.securecodebox.io",
"name": "prometheus.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -393,6 +410,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain engine.securecodebox.io",
"identified_at": "2019-10-04T21:35:23.000Z",
"location": "engine.securecodebox.io",
"name": "engine.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -415,6 +433,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain logging.securecodebox.io",
"identified_at": "2019-10-04T21:35:23.000Z",
"location": "logging.securecodebox.io",
"name": "logging.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -437,6 +456,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain petstoreapi.securecodebox.io",
"identified_at": "2019-10-04T21:35:24.000Z",
"location": "petstoreapi.securecodebox.io",
"name": "petstoreapi.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -459,6 +479,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain jenkins.securecodebox.io",
"identified_at": "2019-10-04T21:35:24.000Z",
"location": "jenkins.securecodebox.io",
"name": "jenkins.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -481,6 +502,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain bridge.securecodebox.io",
"identified_at": "2019-10-04T21:35:24.000Z",
"location": "bridge.securecodebox.io",
"name": "bridge.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -503,6 +525,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain petstore.securecodebox.io",
"identified_at": "2019-10-04T21:35:24.000Z",
"location": "petstore.securecodebox.io",
"name": "petstore.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -525,6 +548,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain sslyze.securecodebox.io",
"identified_at": "2019-10-04T21:35:24.000Z",
"location": "sslyze.securecodebox.io",
"name": "sslyze.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -547,6 +571,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain scanner.securecodebox.io",
"identified_at": "2019-10-04T21:35:25.000Z",
"location": "scanner.securecodebox.io",
"name": "scanner.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -569,6 +594,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain sieve.securecodebox.io",
"identified_at": "2019-10-04T21:35:25.000Z",
"location": "sieve.securecodebox.io",
"name": "sieve.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -591,6 +617,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain securecodebox.io",
"identified_at": "2019-10-04T21:35:19.000Z",
"location": "securecodebox.io",
"name": "securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -613,6 +640,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain gateway.securecodebox.io",
"identified_at": "2019-10-04T21:35:25.000Z",
"location": "gateway.securecodebox.io",
"name": "gateway.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -635,6 +663,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain sso.securecodebox.io",
"identified_at": "2019-10-04T21:35:26.000Z",
"location": "sso.securecodebox.io",
"name": "sso.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -657,6 +686,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain test.securecodebox.io",
"identified_at": "2019-10-04T21:35:26.000Z",
"location": "test.securecodebox.io",
"name": "test.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -679,6 +709,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain elasticsearch.securecodebox.io",
"identified_at": "2019-10-04T21:35:27.000Z",
"location": "elasticsearch.securecodebox.io",
"name": "elasticsearch.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -701,6 +732,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain arachni.securecodebox.io",
"identified_at": "2019-10-04T21:35:28.000Z",
"location": "arachni.securecodebox.io",
"name": "arachni.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -723,6 +755,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain ctf.securecodebox.io",
"identified_at": "2019-10-04T21:35:28.000Z",
"location": "ctf.securecodebox.io",
"name": "ctf.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -745,6 +778,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain nmap.securecodebox.io",
"identified_at": "2019-10-04T21:35:28.000Z",
"location": "nmap.securecodebox.io",
"name": "nmap.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -767,6 +801,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain discovery.securecodebox.io",
"identified_at": "2019-10-04T21:36:47.000Z",
"location": "discovery.securecodebox.io",
"name": "discovery.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -789,6 +824,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain demo.securecodebox.io",
"identified_at": "2019-10-04T21:36:48.000Z",
"location": "demo.securecodebox.io",
"name": "demo.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -811,6 +847,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain dashboard.securecodebox.io",
"identified_at": "2019-10-04T21:36:48.000Z",
"location": "dashboard.securecodebox.io",
"name": "dashboard.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -833,6 +870,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain consul.securecodebox.io",
"identified_at": "2019-10-04T21:36:48.000Z",
"location": "consul.securecodebox.io",
"name": "consul.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -855,6 +893,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain target.securecodebox.io",
"identified_at": "2019-10-04T21:36:48.000Z",
"location": "target.securecodebox.io",
"name": "target.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -877,6 +916,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain vault.securecodebox.io",
"identified_at": "2019-10-04T21:36:48.000Z",
"location": "vault.securecodebox.io",
"name": "vault.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -899,6 +939,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain docs.securecodebox.io",
"identified_at": "2019-10-04T21:36:49.000Z",
"location": "docs.securecodebox.io",
"name": "docs.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -921,6 +962,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain nikto.securecodebox.io",
"identified_at": "2019-10-04T21:36:50.000Z",
"location": "nikto.securecodebox.io",
"name": "nikto.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -943,6 +985,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain api-backend.securecodebox.io",
"identified_at": "2019-10-04T21:36:51.000Z",
"location": "api-backend.securecodebox.io",
"name": "api-backend.securecodebox.io",
"osi_layer": "NETWORK",
Expand All @@ -965,6 +1008,7 @@ exports[`example parser parses large json result successfully 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain api.securecodebox.io",
"identified_at": "2019-10-04T21:36:51.000Z",
"location": "api.securecodebox.io",
"name": "api.securecodebox.io",
"osi_layer": "NETWORK",
Expand Down Expand Up @@ -992,6 +1036,7 @@ exports[`handles jsonl files with a single row correctly 1`] = `
},
"category": "Subdomain",
"description": "Found subdomain www.securecodebox.io",
"identified_at": "2012-04-23T18:25:43.511Z",
"location": "www.securecodebox.io",
"name": "www.securecodebox.io",
"osi_layer": "NETWORK",
Expand Down
5 changes: 5 additions & 0 deletions scanners/amass/parser/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ async function parse(fileContent) {
}

return identifiedDomains.map((domain) => {
let timestamp;
if (domain.Timestamp) {
timestamp = new Date(domain.Timestamp).toISOString();
}
return {
name: domain.name,
identified_at: timestamp,
description: `Found subdomain ${domain.name}`,
category: "Subdomain",
location: domain.name,
Expand Down
Loading