Exetools  

Go Back   Exetools > General > Community Tools

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2023, 03:32
xchwarze xchwarze is offline
Friend
 
Join Date: Feb 2023
Posts: 6
Rept. Given: 0
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 1
Thanks Rcvd at 22 Times in 5 Posts
xchwarze Reputation: 3
Arrow 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
Reply With Quote
The Following User Gave Reputation+1 to xchwarze For This Useful Post:
MarcElBichon (03-04-2023)
The Following 6 Users Say Thank You to xchwarze For This Useful Post:
b30wulf (03-04-2023), darkBLACK (03-16-2023), foil (03-15-2023), Hypnz (03-07-2023), traf0 (03-17-2024)
  #2  
Old 03-17-2024, 04:46
xchwarze xchwarze is offline
Friend
 
Join Date: Feb 2023
Posts: 6
Rept. Given: 0
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 1
Thanks Rcvd at 22 Times in 5 Posts
xchwarze Reputation: 3
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
Reply With Quote
The Following 2 Users Say Thank You to xchwarze For This Useful Post:
blue_devil (03-17-2024), sendersu (03-17-2024)
  #3  
Old 03-17-2024, 16:40
sendersu sendersu is online now
VIP
 
Join Date: Oct 2010
Posts: 1,067
Rept. Given: 332
Rept. Rcvd 223 Times in 115 Posts
Thanks Given: 236
Thanks Rcvd at 513 Times in 288 Posts
sendersu Reputation: 200-299 sendersu Reputation: 200-299 sendersu Reputation: 200-299
@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
Reply With Quote
  #4  
Old 03-18-2024, 02:33
xchwarze xchwarze is offline
Friend
 
Join Date: Feb 2023
Posts: 6
Rept. Given: 0
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 1
Thanks Rcvd at 22 Times in 5 Posts
xchwarze Reputation: 3
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>
Reply With Quote
The Following 2 Users Say Thank You to xchwarze For This Useful Post:
tonyweb (03-18-2024)
Reply

Tags
updater

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 17:25.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )