This commit is contained in:
Steffen Lange 2021-01-23 18:54:59 +01:00
parent a00f78bf0b
commit de12497a1e

14
modules/Tor.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Tor extends PatchBase {
function __construct() {
parent::__construct('Tor Project', 'Tor', 'https://www.torproject.org/download/');
}
function check() : bool {
if ($this->fetch('https://www.torproject.org/download/tor/'))
return $this->parse('_//dist\.torproject\.org/tor-([\d\.]+)\.tar\.gz_');
return false;
}
}
?>