Merge pull request #5 from adlerweb/KES

Add Kaspersky Endpoint Security
This commit is contained in:
Steffen Lange 2024-11-19 16:32:19 +01:00 committed by GitHub
commit 1d1a3a346c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,14 @@
<?php
class KasperskyEndpoint extends PatchBase {
function __construct() {
parent::__construct('Kaspersky Lab', 'Kaspersky Endpoint Security for Windows', 'https://www.kaspersky.de/small-to-medium-business-security/downloads/endpoint');
}
function check() : bool {
if ($this->fetch('https://api-router.kaspersky-labs.com/downloads/search/v3/b2b?productcode=2911379&sites=https%3A%2F%2Fwww.kaspersky.com&sites=https%3A%2F%2Fwww.kaspersky.com%2Fcarribean&sites=https%3A%2F%2Fwww.kaspersky.com%2Fisrael&sites=https%3A%2F%2Fwww.kaspersky.com%2Fsouth-east-asia&sites=https%3A%2F%2Fwww.kaspersky.com%2Findonesia&sites=https%3A%2F%2Fwww.kaspersky.com%2Fthe-european-union&sites=https%3A%2F%2Fwww.kaspersky.com%2Flatvia&sites=https%3A%2F%2Fwww.kaspersky.com%2Flithuania&sites=https%3A%2F%2Fwww.kaspersky.com%2Festonia&sites=https%3A%2F%2Fwww.kaspersky.com%2Funited-kingdom&sites=https%3A%2F%2Fwww.kaspersky.com%2Fcalifornia&sites=https%3A%2F%2Fwww.kaspersky.com%2Fbrazil'))
return $this->parse('/"Link":"http[^"]+keswin_([\d\.]+)_en_[^\.]+\.exe/');
return false;
}
}
?>