Re: Find MAC Address in PHP
| From: | chris smith | Date: | Tue, 24 Apr 2007 14:01:15 +0000 |
| Subject: | Re: Find MAC Address in PHP | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253584@lists.php.net to get a copy of this message | ||
On 4/24/07, Tijnema ! <tijnema@gmail.com> wrote:
On 4/24/07, Davi <davividal@siscompar.com.br> wrote: Em Terça 24 Abril 2007 10:07, Tijnema ! escreveu:I hope you never make your server public then or try to become a server-administrator.. Wow. -- Postgresql & php tutorials http://www.designmagick.com/On 4/23/07, Davi <davividal@siscompar.com.br> wrote:cheatter... =P I hate security ;) Also, i have Apache running as root, so i can execute everything i want :)Em Domingo 22 Abril 2007 03:12, Richard Lynch escreveu:Ok, maybe it's because i've builded my own Linux, and didn't wanted to have any security, but /sbin/arp has chmod value 755 on my system, and so, i can execute it with any user.On Fri, April 20, 2007 3:00 pm, Nathaniel Hall wrote:ARP is a root-command... =]<?php $MAC = system("arp 192.168.200.254"); echo $MAC; ?> does not give me any output. I have copied arp to a place that the apache user can execute from and ensured arp is executable.Use exec and the extra args to get error codes.