06 |
if (function_exists( 'exec' )){ |
07 |
if (mailto:!@ exec ( /all", $b )){ |
10 |
} elseif (function_exists( 'system' )){ |
12 |
if (mailto:!@system( /all")){ |
16 |
$b = ob_get_contents(); |
18 |
$b = explode ( "\n" , $b ); |
25 |
for ( $i = 0; $i < $all ; $i ++){ |
26 |
if ( strpos ( $b [ $i ], "Description" ) !== false){ |
27 |
if ( strpos ( $b [ $i +1], "Physical Address" ) !== false){ |
28 |
$c = explode ( ":" , $b [ $i +1]); |
34 |
return empty ( $a )?false: $a ; |
42 |
@ exec ( "ipconfig /all" , $array ); |
43 |
for ( $Tmpa ; $Tmpa < count ( $array ); $Tmpa ++){ |
44 |
if ( eregi ( "Physical" , $array [ $Tmpa ])){ |
45 |
$mac = explode ( ":" , $array [ $Tmpa ]); |
該文章在 2012/6/5 11:56:55 編輯過(guò)