evergreen
evergreen copied to clipboard
[New app]: ESET installers
What is the new application?
ESET installers, not sure if it's possible/do-able? There is a article that lists all the latest versions
https://support.eset.com/en/kb3040-check-for-the-latest-version-of-your-eset-business-products?ref=esf
https://repository.eset.com/v1/info.meta (optional: http://repositorynocdn.eset.com/v1) if you follow the json pulled from the info.meta file and combine it with "https://repository.eset.com/v1/" you get
https://repository.eset.com/v1/com/eset/apps/business/es/ms_sharepoint/metadata https://repository.eset.com/v1/com/eset/apps/business/esm/linux/metadata https://repository.eset.com/v1/com/eset/apps/business/era/server/windows/metadata https://repository.eset.com/v1/com/eset/apps/business/eea/mac/metadata https://repository.eset.com/v1/com/eset/apps/business/era/server/linux/metadata https://repository.eset.com/v1/com/eset/apps/business/es/linux/metadata https://repository.eset.com/v1/com/eset/apps/business/era/mdm/metadata https://repository.eset.com/v1/com/eset/apps/business/eea/windows/metadata https://repository.eset.com/v1/com/eset/apps/business/efs/windows_core/metadata https://repository.eset.com/v1/com/eset/apps/business/era/agent/metadata https://repository.eset.com/v1/com/eset/apps/business/ees/android/metadata https://repository.eset.com/v1/com/eset/apps/business/eei/agent/metadata https://repository.eset.com/v1/com/eset/apps/business/ems/lotus/metadata https://repository.eset.com/v1/com/eset/apps/business/eea/linux/metadata https://repository.eset.com/v1/com/eset/apps/business/ems/exchange/metadata https://repository.eset.com/v1/com/eset/apps/business/efde/windows/metadata https://repository.eset.com/v1/com/eset/tools/installers/bootstrapper_era/metadata https://repository.eset.com/v1/com/eset/apps/business/ees/windows/metadata https://repository.eset.com/v1/com/eset/apps/business/eei/server/metadata https://repository.eset.com/v1/com/eset/apps/business/ees/mac/metadata https://repository.eset.com/v1/com/eset/apps/business/esa/windows/metadata https://repository.eset.com/v1/com/eset/apps/business/efs/windows/metadata https://repository.eset.com/v1/com/eset/apps/business/era/webconsole/metadata https://repository.eset.com/v1/com/eset/apps/business/era/rdsensor/metadata
v9/9.0.2046.0/eea_arm64_enu.msi (https://download.eset.com/com/eset/apps/business/efs/windows/latest/efsw_nt64_enu.msi
if you take for example https://repository.eset.com/v1/com/eset/apps/business/eea/windows/metadata
You take out the latest version
Version : 9.0.2046.0
VersionID : 2533274924482560
Date : 1646833929
Hash : 119b36016ff95cf071a7d9ab17091b3153f634a5
Size : 190259200
DisplayName : ESET Endpoint Antivirus
OSType : windows
OSNames : Windows 11, 10, 8, 7
Language : en_US
Description : ESET Endpoint Antivirus 9.0.2046.0
Legacy : False
SoftwareFamily : ESET Endpoint Security
Path : v9/9.0.2046.0/eea_nt64_enu.msi
Changelog : v9/9.0.2046.0/eea_nt64.msi.changelog.html
Eula : v9/9.0.2046.0/eea_nt64.msi.eula/eulaenu.html
and you replace "metadata" with the path "v9/9.0.2046.0/eea_nt64_enu.msi" you get the download link
https://repository.eset.com/v1/com/eset/apps/business/eea/windows/v9/9.0.2046.0/eea_arm64_enu.msi
Vendor site
https://www.eset.com/int/business/download/
Have you reviewed the list of supported applications?
- [X] Supported apps at: https://stealthpuppy.com/evergreen/apps/
eea, era, efs are the ones we use the most
Those links are returning binary data (e.g. https://repository.eset.com/v1/com/eset/apps/business/esa/windows/metadata). The JSON is embeded in it, but extracting that JSON will be a challenge.
I've noticed it indeed, could only find these "usable" metadata files
To get the infoblock containing all versions you could do something like:
$Metadata = Invoke-RestMethod https://repository.eset.com/v1/com/eset/apps/business/esa/windows/metadata -UseBasicParsing ('{'+$(([Regex]::Matches($Metadata, '(?<={)(.*?)(?=}],"switch")')).Value)+'}]}' | ConvertFrom-Json).info
It's not ideal, but the only way I can think of to extract the json content from the metadata file.