Apache
It uses a process-based model, where each request is handled by a separate thread or process, which can be resource-heavy under high traffic but provides great compatibility.
Configuration Files
Standard
/etc/apache2/apache2.conf
RHEL
/etc/httpd/httpd.conf
FreeBSD
/etc/apache24/httpd.conf
vhost
/etc/apache2/sites-enabled/000-default.conf
Modules
/etc/apache2/mods-available/
Initial Recon
If you are lucky you may be able to find
/sites-enabled
and/sites-available
or evenlogs
:
feroxbuster -u http://URL.htb -w ~/Documents/Wordlists/default-web-root-directory-linux.txt --output urls.txt --redirects
robots.txt
can reveal pages that the server is hiding.Fuzz for
vhosts
at sight of301
responses.
Ffuf
ffuf -c -w ~/Documents/Wordlists/subdomains-top1million-20000.txt -u http://SITE/ -H "Host: FUZZ.URL.htb" -fc 301 -ac
/cgi-bin/
: Directory for executingCGI
scripts.
/icons/
: Often used for directory listings. It may expose unintended file paths.phpinfo.php
: Disclose sensitive server and PHP configuration details.
Last updated