Exetools  

Go Back   Exetools > General > Community Tools

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2024, 02:33
xchwarze xchwarze is offline
Friend
 
Join Date: Feb 2023
Posts: 15
Rept. Given: 0
Rept. Rcvd 5 Times in 3 Posts
Thanks Given: 2
Thanks Rcvd at 57 Times in 12 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)
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 02:26.


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