Compare commits

...

2 commits

Author SHA1 Message Date
30937d14b8 Add Zed Attack Proxy 2025-02-26 16:58:22 +01:00
1f6814cdf3 Directory Studio: fix regex 2025-02-26 16:58:08 +01:00
2 changed files with 15 additions and 1 deletions

View file

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

14
modules/ZAP.php Normal file
View file

@ -0,0 +1,14 @@
<?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;
}
}
?>