Compare commits

..

No commits in common. "30937d14b82590187b3977cee65619dcc95214b5" and "aeb0e4289d8e50b4c6a1ccbb325242a51721e5a5" have entirely different histories.

2 changed files with 1 additions and 15 deletions

View file

@ -6,7 +6,7 @@ class ApacheDirectoryStudio extends PatchBase {
}
function check() : bool {
if ($this->fetch('https://directory.apache.org/studio/'))
return $this->parse('/>Version ([\d\.]+[-M\d]*)</');
return $this->parse('/<b>Download Apache<br>Directory Studio ([\d\.]+[-M\d]*)<\/b>/');
return false;
}
}

View file

@ -1,14 +0,0 @@
<?php
class ZAP extends PatchBase {
function __construct() {
parent::__construct('ZAP Dev Team', 'Zed Attack Proxy', 'https://www.zaproxy.org/download/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/zaproxy/zaproxy/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>