Merge pull request #5 from adlerweb/KES
Add Kaspersky Endpoint Security
This commit is contained in:
commit
1d1a3a346c
1 changed files with 14 additions and 0 deletions
14
modules/KasperskyEndpoint.php
Normal file
14
modules/KasperskyEndpoint.php
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue