PatchBot/modules/MikroTikRouterOS6.php
2025-12-03 15:15:54 +01:00

16 lines
380 B
PHP

<?php
class MikroTikRouterOS6 extends PatchBase {
function __construct() {
parent::__construct('MikroTik', 'RouterOS', 'https://mikrotik.com/download');
$this->patch->setBranch('v6 Stable');
}
function check() : bool {
if ($this->fetch('https://upgrade.mikrotik.com/routeros/NEWESTa6.stable')) {
return $this->parse('/([\d\.]+) [\d]+/');
}
return false;
}
}
?>