Skip to content

Commit

Permalink
Merge pull request pucherot#241 from leiweibau/next_update
Browse files Browse the repository at this point in the history
fixed arp-scan dectection
  • Loading branch information
leiweibau authored Jan 21, 2024
2 parents 7d545ed + 59c3cac commit 003c3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/php/server/devices.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
}
}
function GetARPStatus() {
$execstring = 'ps -aux | grep "/pialert/back/pialert.py 1" | grep -v grep | sed \'/>~\/pialert\/log\/pialert.1.log/d\'';
$execstring = 'ps -aux | grep "/pialert/back/pialert.py 1" | grep -v grep | grep -v "/pialert/log/pialert.1.log"';
$pia_arpscans = "";
exec($execstring, $pia_arpscans);
$result = array(sizeof($pia_arpscans));
Expand Down

0 comments on commit 003c3f3

Please sign in to comment.