Quantcast
Channel: LeakedForums
Viewing all articles
Browse latest Browse all 3684

PHP gets the unique identification of computer [CPU, NIC MAC address]

$
0
0
  1. //获取电脑的CPU信息
  2. function OnlyU(){
  3. $a = '';
  4. $b = array();
  5. if(function_exists('exec')){
  6. if(mailto:!@exec( /all",$b)){
  7. return false;
  8. }
  9. }elseif(function_exists('system')){
  10. ob_start();
  11. if(mailto:!@system( /all")){
  12. return false;
  13. }else{
  14. }
  15. $b = ob_get_contents();
  16. ob_end_clean();
  17. $b = explode("\n",$b);//print_r($b);
  18. array_pop($b);
  19. }else{
  20. return false;
  21. }
  22. $all = sizeof($b);
  23. for($i = 0;...

PHP gets the unique identification of computer [CPU, NIC MAC address]

Viewing all articles
Browse latest Browse all 3684

Trending Articles