Add mitmproxy

This commit is contained in:
Steffen Lange 2021-07-27 15:11:42 +02:00
parent 32d0ac744e
commit 7c23599f1b

14
modules/Mitmproxy.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Mitmproxy extends PatchBase {
function __construct() {
parent::__construct('Aldo Cortesi', 'mitmproxy', 'https://mitmproxy.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/mitmproxy/mitmproxy/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>