Subversion Repositories ALCASAR

Rev

Rev 2065 | Rev 2080 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2065 Rev 2078
Line 113... Line 113...
113
			if(file_exists('/usr/share/arp-scan/ieee-oui.txt'))
113
			if(file_exists('/usr/share/arp-scan/ieee-oui.txt'))
114
			{
114
			{
115
				$oui_id = substr(str_replace("-","",$detail[0]),0,6);
115
				$oui_id = substr(str_replace("-","",$detail[0]),0,6);
116
				exec ("grep $oui_id /usr/share/arp-scan/ieee-oui.txt | cut -f2", $mac_manufacturer);
116
				exec ("grep $oui_id /usr/share/arp-scan/ieee-oui.txt | cut -f2", $mac_manufacturer);
117
				echo "<TD>$detail[0] ($mac_manufacturer[0])</TD>";
117
				echo "<TD>$detail[0] ($mac_manufacturer[0])</TD>";
-
 
118
				unset($mac_manufacturer);
118
			}
119
			}
119
			else
120
			else
120
			{
121
			{
121
				echo "<TD>$detail[0]</TD>";
122
				echo "<TD>$detail[0]</TD>";
122
			}
123
			}