Created
December 21, 2020 18:08
-
-
Save ShubhamPy/0ec312475f53a5bb17f20edd75498b8a to your computer and use it in GitHub Desktop.
Finding common files in the webroot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| First, find directory names for the webroot. This would typically be www or public or something like that. How can we recognize these? By the files they contain. If a directory contains favicon.ico or index.html or robots.txt, it is pretty likely to be a webroot. Especially for robots.txt, because that only works if it is served on the root of the server. | |
| .gitignore or README.md | |
| Some Directories paths: | |
| public | |
| web | |
| static | |
| app | |
| assets | |
| templates | |
| docs | |
| dist | |
| www | |
| src |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment