Compare commits
3 commits
30937d14b8
...
d37597e6aa
| Author | SHA1 | Date | |
|---|---|---|---|
| d37597e6aa | |||
| 21617be045 | |||
| f974e40dfb |
3 changed files with 45 additions and 0 deletions
15
modules/Tomcat10.php
Normal file
15
modules/Tomcat10.php
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Tomcat10 extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Apache Foundation', 'Tomcat', 'https://tomcat.apache.org/download-10.cgi');
|
||||||
|
$this->patch->setBranch('10');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://tomcat.apache.org/download-10.cgi'))
|
||||||
|
return $this->parse('/id="([\d\.]+)"/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
15
modules/Tomcat11.php
Normal file
15
modules/Tomcat11.php
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Tomcat11 extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Apache Foundation', 'Tomcat', 'https://tomcat.apache.org/download-11.cgi');
|
||||||
|
$this->patch->setBranch('11');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://tomcat.apache.org/download-11.cgi'))
|
||||||
|
return $this->parse('/id="([\d\.]+)"/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
15
modules/Tomcat9.php
Normal file
15
modules/Tomcat9.php
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Tomcat9 extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Apache Foundation', 'Tomcat', 'https://tomcat.apache.org/download-90.cgi');
|
||||||
|
$this->patch->setBranch('9');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://tomcat.apache.org/download-90.cgi'))
|
||||||
|
return $this->parse('/id="([\d\.]+)"/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue