eris

- Elasticsearch Recon Ingestion Scripts (ERIS) 🔎
git clone git://git.acid.vegas/-c.git
Log | Files | Refs | Archive | README | LICENSE

commit 20ee3fcb0fbdddac95171b853ee5f0a19c6fe2a1
parent e74741c0ade0f6057dca134f662d48cb206105e9
Author: acidvegas <acid.vegas@acid.vegas>
Date: Sat, 23 Mar 2024 14:48:45 -0400

Added a comment about the methodology of determining the zone the data is from.

Diffstat:
Mingestors/ingest_zone.py | 1+

1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/ingestors/ingest_zone.py b/ingestors/ingest_zone.py
@@ -68,6 +68,7 @@ async def process_data(file_path: str):
 
 		# Determine the zone name from the file path (e.g., /path/to/zones/com.eu.txt -> com.eu zone)
 		zone = '.'.join(file_path.split('/')[-1].split('.')[:-1])
+		# Note: For now, this is the best way because we are not just ingesting TLD zone files, but entire zones for domains aswell...
 
 		# Read the input file line by line
 		async for line in input_file: