From b1990c8347a9611379c96a9a69541f271b98d029 Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Fri, 14 Jan 2022 14:18:21 +0100 Subject: [PATCH] Add RouterOS v7 --- modules/MikroTikRouterOS7.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/MikroTikRouterOS7.php diff --git a/modules/MikroTikRouterOS7.php b/modules/MikroTikRouterOS7.php new file mode 100644 index 0000000..cfbecbb --- /dev/null +++ b/modules/MikroTikRouterOS7.php @@ -0,0 +1,17 @@ +patch->setBranch('v7 Stable'); + } + function check() : bool { + if ($this->fetch('https://mikrotik.com/download')) { + $this->str_crop('id="routeros7"', ''); + return $this->parse('/([\d\.]+) Stable<\/th>/'); + } + return false; + } +} + +?>