Get the NIC MAC in PHP - from phpx.com

xiaoxiao2021-03-06  64

$ Command

=

Escapeeshellcmd

(

"nbtstat -a"

.

$ _SERVER

[

Remote_addr

]); if

STRTOLOWER

(

Substr

(

PHP_OS

,

0

,

3

)) ==

"win"

) {

EXEC

(

$ Command

,

$ RESULT

);

Array_POP

(

$ RESULT

PRINT

Substr

(

Array_POP

(

$ RESULT

),

18

} else {print

"The OS IS Not Windows 2000"

}

?>

转载请注明原文地址:https://www.9cbs.com/read-118821.html

New Post(0)