Update your software toolkit with UVK

Post tutorials and script examples in this forum.
Forum rules
We have no special rules for UVK forums. Just try to be polite and clear in your posts.
Please don't post spam in this forum. Spammers will be banned by IP, e-mail and username.
We reserve the right to delete all posts and ban all users we consider not having respected these rules without warning.
Post Reply
Fred
Site Admin
Posts: 2357
Joined: Sat Jul 30, 2011 12:05 pm
Location: Red coast, France
Contact:

Update your software toolkit with UVK

Post by Fred »

Hello.

This tutorial will show you how you can easily keep your software toolkit up to date using UVK.

The version 4.6 introduced a new custom command: <UpdateSoftware>.

This command allows you to compare a file existing in your hard or removable drive with one existing over the internet, and download it if it is different.

The syntax for this command is very simple. Please see here for a full description with examples.

As described in the help page, you enter lines having a file path and a url separated with " | " below the mode line, which has the text <UpdateSoftware>

You can also specify whether to download the file directly, or by specifying its MajorGeeks download page, or by specifying the text of the link pointing to the updated file.

In this tutorial, we will assume that your software toolkit is placed in D:\Tools\. Change that to reflect the path where you want to save the files. Note that this folder must exist, or the updates will fail!

Important: The file will be downloaded if it is not updated, or if it does not exist (i.e. the first time you download it).

OK, let's start by gathering the examples in the help page mentioned above, and create a single script that updates UVK portable, MBAM, SuperAntiSpyware, Combofix and TDSKiller.

Open the UVK's Log analyzer using one of the following methods:
  • 1: Launch UVK, click UVK options, and then Create UVK commands script.
    2: Click Start -> All programs -> UVK -> Log analyzer
Enter the following code in the Log analyzer's text box:

Code: Select all

  <UpdateSoftware>

D:\Tools\UVKPortable.exe | http://www.carifred.com/uvk/UVKPortable.exe
D:\Tools\MBAM.exe | http://www.malwarebytes.org/mbam-download-exe.php
D:\Tools\SAS.exe | http://www.majorgeeks.com/SUPERAntiSpyware_Free_d5116.html | MajorGeeks
D:\Tools\Combofix.exe | http://www.bleepingcomputer.com/download/combofix/dl/12/ | click here
D:\Tools\TDSSKiller.exe | http://support.kaspersky.com/5350 | TDSSKiller.exe
Click File -> Save as UVK commands script, choose the path where you want to save the script and click Save.

Now you can run the script by double-clicking on it, and UVK will update the five files. Let's have a more complete explanation of how it works:

The first two commands (for UVK portable and MBAM) use direct download urls. For direct downloads you just specify the path of the file to save and the download url.

In the third command (for SuperAntiSpyware) we are using the url of the MajorGeeks page for the program. Note that this is not the real download page, just the page containing information about the software and the download links. You can easily find the page by googling majorgeeks SoftwareName. i.e. majorgeeks Avast! Virus cleaner tool, or majorgeeks Superantispyware.

The last two commands use the url of a page and the text of a link pointing to the file to download. Using this method, UVK will be able to download the file even if the target of the link changes, as long as the text of the link doesn't. A good example is the Combofix download. Bleepingcomputer supplies a temporary (10 minutes timed) link displaying Click here. UVK will parse the link to retrieve its target, and download Combofix ONLY if it's not already updated.

The same happens for the TDSSKiller download command. UVK will parse the TDSSKiller.exe link (which is hidden, by default, in the page), retrieve its target and download the file.

Please feel free to ask for other programs you want me to post examples.

My next post in this topic will explain how to automatically schedule the updates.
One thing we humans have in common is that we are all different. So, if you think you're weird because you're different from everyone else, then we are all weird.

Fred
Post Reply