From 55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Fri, 6 Feb 2009 19:18:00 -0600 Subject: mv packages to config dir to match web layout --- config/arpwatch_reports.php | 127 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100755 config/arpwatch_reports.php (limited to 'config/arpwatch_reports.php') diff --git a/config/arpwatch_reports.php b/config/arpwatch_reports.php new file mode 100755 index 00000000..1bdb5233 --- /dev/null +++ b/config/arpwatch_reports.php @@ -0,0 +1,127 @@ +#!/usr/local/bin/php + $newmac, + "timestamp" => trim($todo[2]), + "hostname" => trim($todo[3]) ? trim($todo[3]) : "Unknown" + ); + unset($mac); + } +} +$pgtitle = "arpwatch: Reports"; +include("head.inc"); + +?> + + + +

+ + + + + + + +
+ +
+
+ + + + + + + + + + + $rawentries) { + $printip = true; + $entries = $rawentries; + sort($entries); + foreach($entries as $entry) { + echo ''; + if($printip) { + echo ''; + $stampclass = "listr"; + $printip = false; + } else { + $stampclass = "listlr"; + echo ''; + } + echo ''; + echo ''; + echo ''; + echo ''; + } + } + ?> + + + +
arp.dat entries
IPTimestampMACHostname
' . $ip . '' . + date("D M j G:i:s", $entry['timestamp']) . + '' . $entry['mac'] . '' . $entry['hostname'] . '
+
+
+ +
+
+
+
-- cgit v1.2.3