📜 ⬆️ ⬇️

Mirror updates ESET Nod32 (all versions)

I stumbled today on the article “A script to create a mirror of updates for Eset Nod32 on Linux” and remembered that half a year ago I had sketched a script for myself on my knee, which does something similar.

I don’t want to say anything bad about this article, especially since we and the author have done the same work.
Unlike cmepthuk, my code is “crooked”, but personally my tasks are “5+”.

I put the project on Google Code, but did not want to share this disgrace with anyone - it was embarrassing, but I don’t have time to “comb” the code. However, everything works, updates come and users receive them.

It works on all unix-like machines (it should work), although I checked only on my routers with Debian Linux, FreeBSD and pfSense. All my remote offices are updated and do not bibikat, but for me it is the most important. By the way, the offices themselves are wildly “hungry”, therefore they cannot allocate funds for a separate server for RAS (and the purchase of related licenses), and my script deployed on FireWall still works well since writing code (February 2014) .
')
The bias was to fully automate the process so as not to manually write the addresses of the servers (which then move, then simply change to others) and not manually register separate directories for different versions of the antivirus.

The setup is simple: edit settings.txt and run the script on the crown. The main setting is the login and password for receiving updates. Nothing more is needed because the script itself will search for the current official ESET servers, take only the current databases (to save decelerated Internet traffic, which poor offices so save) and lay everything out in different directories. The script can serve several versions at the same time, for example, the 5th, 6th and 7th, for this it is enough to make the appropriate setting in the settings file.

Something like that.

If someone likes the script, take it and use it, and if you do not like it, do not take it. Since This hand-made article was written for personal use, I don’t pretend to the “Clean Code” and “Best Coder of the Year” awards. I hope for the understanding of the reader.

Thanks for attention.

Project Link: https://code.google.com/p/geteset/
Project wiki: https://code.google.com/p/geteset/wiki/index
Sources: https://code.google.com/p/geteset/source/
Git: github.com/SPIDER-L33T/geteset.git

Source: https://habr.com/ru/post/232411/


All Articles