View Single Post
  #4  
Old 03-18-2024, 02:33
xchwarze xchwarze is offline
Friend
 
Join Date: Feb 2023
Posts: 14
Rept. Given: 0
Rept. Rcvd 5 Times in 3 Posts
Thanks Given: 2
Thanks Rcvd at 52 Times in 11 Posts
xchwarze Reputation: 5
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)