Compare commits
2 commits
aeb0e4289d
...
30937d14b8
| Author | SHA1 | Date | |
|---|---|---|---|
| 30937d14b8 | |||
| 1f6814cdf3 |
2 changed files with 15 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class ApacheDirectoryStudio extends PatchBase {
|
|||
}
|
||||
function check() : bool {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
14
modules/ZAP.php
Normal file
14
modules/ZAP.php
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue