Re: Find MAC Address in PHP
| From: | Tijnema ! | Date: | Tue, 24 Apr 2007 19:37:12 +0000 |
| Subject: | Re: Find MAC Address in PHP | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253620@lists.php.net to get a copy of this message | ||
On 4/24/07, chris smith <dmagick@gmail.com> wrote:
On 4/24/07, Tijnema ! <tijnema@gmail.com> wrote: On 4/24/07, Davi <davividal@siscompar.com.br> wrote:It's my development server :) It's LAN only, that's why i don't need security... I AM a server administrator, and yes, i do care about security there ;) TijnemaEm Terça 24 Abril 2007 10:07, Tijnema ! escreveu:I hate security ;) Also, i have Apache running as root, so i can execute everything i want :) I hope you never make your server public then or try to become a server-administrator.. Wow.On 4/23/07, Davi <davividal@siscompar.com.br> wrote:cheatter... =PEm 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.
-- Postgresql & php tutorials http://www.designmagick.com/