evild3ad / MemProcFS-Analyzer

MemProcFS-Analyzer - Automated Forensic Analysis of Windows Memory Dumps for DFIR
https://lethal-forensics.com
GNU General Public License v3.0
462 stars 53 forks source link

Update Kibana and ElasticSearch Version Checking #28

Closed digitalsleuth closed 9 months ago

digitalsleuth commented 9 months ago

This PR modifies the enumeration of the available "versions" and applies Semantic Versioning rules to more accurately determine the latest version.

Currently, when running the script, both Kibana and Elasticsearch come back with the latest version of "8.9.2", when the latest (not tagged as latest, but most recent) version is actually 8.11.1 (at the time of writing). This is due to PowerShell sorting by individual character values first (ie: 8.9.2 > 8.11.1 because [char]9 > [char]1) instead of total numerical values ([int]9 < [int]11).

evild3ad commented 9 months ago

I have updated the Kibana and Elasticsearch version checking manually. Sorry...it is my first pull request. ;-)

I had to skip the other small file changes. There is a difference between first install and updating the dependencies...currently it is nicely aligned.

Thank you!

digitalsleuth commented 9 months ago

All good! Thanks for taking a look into it!