تست نفوذجمع آوری اطلاعات

حمله Directory listing در وب سرور آپاچی و جلوگیری از آن

???? Directory listing ?? ?? ???? ????? ? ??????? ?? ??

Directory listing ???? ???? ?? ??? ?? ???? ?? ???? ?? ?? ????????? ??? ?? ???? ????? ?????? ???? ??? ?? ?? ????? ?? ??? ??? ??? ?? ?????? ?? ???? ????? ?? ?? ?? ???? ???? ??????? ??? ? ?? ??? ?????? ?? ????? ? ????? ? ???? ?? ?? ????? ????? ???. ??? ???? ???? ?? ??? ?? ???? ??? ???? ?? ???? ????? ????? ????? ??????? ????? ???? ?? ? ????????? ??? ??? ??? ???? ?… ?? ???? ??? ???? ?????.

???? ????? ??? ??? ???? ?? ?? ???? ??? ???? ?? ?? ??? secret ????? ?? ???? ?? ???? ??? ???? (????? ???????? ??? ??? ??????? ????? ?? ?…) ??? ?? ????? ???? ???. ??? ??? ?? ??????? ?? ???????? ??? ???? ???? ??? ???? ??? ?? ?? ??? ?? ???? ? ?? ???? ??? ???? ????? ?? ??? ???? ???? ?? ????? ?? ??????? ???? ???? ??? ?????? ????? ????.

http://www.example.com/secret
???? Directory listing ?? ?? ???? ????? ? ??????? ?? ??
??? ?????? ????????? ?? (directory listing)

????? ???? ????????? (Directory listing) ?? ?? ?? ???? ????? ??????? ?????

??????? ?? ?? ?? ???? ?? ???? ?? ???????? ??? ?? ????? ??????? ????????? ?? ???? ????? ??????. ?? ??? ????? ???? ??????? ?? ??? ???? ?? ???? ?? ????? ?????? ?? ???? ??? ????? ????????? ??? ?? ???? ?? ?? ?????? ???? ?? ???? Forbidden ????? ???. ??? ????? ?? ???? ?????????? ????? ???? ???? ?????? ???? ????? ???.

??? ?? ?? ???? ???? ????? ????? ??? ?? ?? ????? ??? ?????? ????.

service apache2 start

??? ?? ???? var/www/html ???? ? ?? ???? ?? ??? ?????? ?? ?????.

mkdir Directory

???? ???? ???? ???? ???? ?? ???? etc/apache2 ???? ? apache2.conf ?? ?? ???????? nano ??? ?? ????.

nano apache2.conf

?? ????? ???? ?????? Ctrl+w ?? ????? ???? indexes ?? ?????.

???? Directory listing ?? ?? ???? ????? ? ??????? ?? ????? ???? ???? ?? ?? var/www ????? ?? ???? ? ???? indexes ?? ??? ?? ????.

???? Directory listing ?? ?? ???? ????? ? ??????? ?? ??

??? ???? ???? ?? ???????? ??????? ?????? Ctrl+x ?? ?????? ? ?? ???? Y ??????? ?? save ?? ???? ? ?? Enter ???? ?? ????.

?? ????? ???? ????? ????? ?? ?????? ??? ?????? ???? ?? ?? ????? ??? ?? ???? ??????? ??????? ?? ????.

service apache2 restart

???? Directory listing ?? ?? ???? ????? ? ??????? ?? ??

??? ??? ???? ????????? ??? ?? ?? ?????? ??? ???? ?? ???? Forbidden ????? ?????? ??.

localhost/(file name)

???? Directory listing ?? ?? ???? ????? ? ??????? ?? ??

??????? ???? Directory listing ?? ???? ???? htaccess.

?????? ??? ???? ??????? ???? Directory listing ??????? ?? ???? htaccess ???.

?? ???? ??? ??????? ??? ???????? ?? ???? “??????? ” ?? ??? ??????? ??????? ????? “???????? ????” ?? ?????? ???? ? ??? ????? ??????? ???? ??????. ?? ????? ??? ??? ?????? ?? ???? ??? ??? ???? htaccess ?? ?? ????? ??? ????? ?? ???.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

??? ???? ??????? ???? ??? ??????? ?? ??? ?? ?? ?????? ??? ???? ????? ?? ????.

Options All -Indexes

??? ?? ????? ??? ???????? ??? ?????? ????? ??? ?????? ????????? ??? ??? ?? ?? ???? URL ????? ?? ???? Forbidden ????? ????? ??.

???? Directory listing ?? ?? ???? ????? ? ??????? ?? ??

 

???? :

???? ????

 

[author title=”??????? ?????? ?????? ???? ???? ?????” image=”https://soroosheamniyat.ir/wp-content/uploads/2020/12/image-bajalan.jpg”]???? ??????[/author]

پویش #دو_درجه_کمتر
نمایش بیشتر

سعید باجلان

کارشناس ارشد نرم افزار وصاحب امتیاز پایگاه خبری سروش امنیت. مهارت ها: تسلط کامل به مباحث شبکه، سیسکو،هک و امنیت، مباحث مجازی سازی،بانک های اطلاعاتی فارنزیک

نوشته های مشابه

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *

Time limit is exhausted. Please reload the CAPTCHA.

دکمه بازگشت به بالا