2010-07-21 00:30:37 +00:00

15 lines
350 B
PHP
Executable File

<?php
if(!$os) {
if(strstr($sysDescr, "Cisco Internetwork Operating System Software")) { $os = "ios"; }
else if(strstr($sysDescr, "IOS (tm)")) { $os = "ios"; }
else if(strstr($sysDescr, "Cisco IOS Software")) { $os = "ios"; }
if(strstr($sysDescr, "IOS-XE")) { $os = "iosxe"; }
if(strstr($sysDescr, "IOS XR")) { $os = "iosxr"; }
}
?>