Advertisement
r13y5h4

c3k-r00t

Nov 23rd, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. <?php
  2. $version_kernel=php_uname('r');
  3. $version=explode('-',$version_kernel);
  4. echo "SystemKernel: ".php_uname('-a')."<br>";
  5. $exploits = array(
  6. 'w00t' => '2.4.18','2.4.10','2.4.21','2.4.19','2.4.17','2.4.16','2.4.20',
  7. 'brk' => '2.4.22','2.4.21','2.4.10','2.4.20',
  8. 'elflbl' => '2.4.29',
  9. 'expand_stack' => '2.4.29',
  10. 'h00lyshit' => '2.6.8','2.6.10','2.6.11','2.6.12',
  11. 'kdump' => '2.6.13',
  12. 'km2' => '2.4.18','2.4.22',
  13. 'krad' => '2.6.11',
  14. 'krad3' => '2.6.11','2.6.9',
  15. 'local26' =>'2.6.13',
  16. 'mremap_pte'=>'2.4.20','2.2.25','2.4.24',
  17. 'newlocal'=>'2.4.17','2.4.19',
  18. 'ong_bak'=>'2.4.','2.6.',
  19. 'ptrace'=>'2.2.24','2.4.22',
  20. 'ptrace_kmod'=>'2.4.','2.6.',
  21. 'ptrace24'=>'2.4.9',
  22. 'pwned'=>'2.4.','2.6.',
  23. 'py2'=>'2.6.9','2.6.17','2.6.15','2.6.13',
  24. 'raptor_prctl'=>'2.6.13','2.6.17','2.6.16','2.6.13',
  25. 'prctl3'=>'2.6.13','2.6.17','2.6.9',
  26. 'stackgrow2'=>'2.4.29','2.6.10',
  27. 'uselib24'=>'2.4.29','2.6.10','2.4.22','2.4.25',
  28. 'exp.sh'=>'2.6.9','2.6.10','2.6.16','2.6.13',
  29. 'prctl'=>'2.6.',
  30. 'kmdx'=>'2.6.','2.4.'
  31. );
  32. $rootexploit = array_search($version[0], $exploits);
  33. if ($rootexploit==NULL){
  34. echo 'RootExploit:<font color=#ff0000>Tidak ada RootExploit tersebut pada daftar kami</font>';
  35. }else{
  36. echo 'RootExploit:<font color=#00ff00>Coba gunakan</font>'.$rootexploit;
  37. }
  38. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement