PatchBot/modules/VeraCrypt.php
2021-01-20 15:37:04 +01:00

14 lines
433 B
PHP

<?php
class VeraCrypt extends PatchBase {
function __construct() {
parent::__construct('IDRIX', 'VeraCrypt', 'https://www.veracrypt.fr/en/Downloads.html');
}
function check() : bool {
if ($this->fetch('https://www.veracrypt.fr/en/Downloads.html'))
return $this->parse('_//launchpad\.net/veracrypt/trunk/[\d\.]+[a-z]?[-a-z\d]*/&#43;download/VeraCrypt%20Setup%20([\d\.]+[a-z]?[-A-Za-z\d]*)\.exe_');
return false;
}
}
?>