Exetools

Exetools (https://forum.exetools.com/index.php)
-   Community Tools (https://forum.exetools.com/forumdisplay.php?f=47)
-   -   Universal Tool Updater (https://forum.exetools.com/showthread.php?t=20470)

xchwarze 03-04-2023 03:32

Universal Tool Updater
 
Universal Tool Updater is the result of having to deal with keeping the tools I use in my lab up to date.
The idea was to be able to have a universal tool for all the cases that could occur.

You can download it and see the documentation here https://github.com/xchwarze/universal-tool-updater

You can also see an implementation of the same in this other project that I have

xchwarze 03-17-2024 04:46

I took advantage of the Christmas vacations to redo this project :)

You can find the new fully refactored version here
https://github.com/xchwarze/universal-tool-updater/releases/tag/v2.1.0

sendersu 03-17-2024 16:40

@xchwarze
thanks for you nice tool
do you support updater for the archives that do not have version embedded in it's name,
so the vendor just overwrites the previous one, eg:

https://download.sysinternals.com/files/ProcessMonitor.zip

xchwarze 03-18-2024 02:33

For tools that are not hosted on Github there are two strategies:

1. Regex: You can make use of regex to locate version numbers and download links on websites

2. HTTP Headers: If it is impossible to apply the first method, there is a secondary method that consists of using the "last-modified" header and if the server does not make use of it, "content-length" is used as fallback.

As an example you can see the config file of the updater of my toolkit https://github.com/indetectables-net...ater/tools.ini

In it we can find the example you asked before
Quote:

[Procmon]
folder = ..\..\toolkit\Monitor\Procmon
url = https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
update_url = https://download.sysinternals.com/files/ProcessMonitor.zip
from = web
local_version = 3.96
re_version = <h1 [^>]*>Process Monitor v(.*?)</h1>


All times are GMT +8. The time now is 13:39.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX