-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add backup file adder code #1376
Conversation
|
Everything that's done behind the scenes must be known and decided by users, if you make a flag like |
when performing actual web page security checks, we often find that dynamic pages such as |
Why not using the suffix parameter? .bak,.BAK,.old (... and so in) |
this cause a lot http request to server. all we need is found index.php then try aceesss index.php.bak instead of try access index.php and index.php.bak |
|
The idea is to find a file that exists, then see if .bak version of it exists - not to duplicate the number of files queried for by adding another extension |
Would the source code contain anything more informative than the page itself tho (like something really sensitive)? And I would like to know how common this is, and how many people actually need this feature |
Description
Add support such that when a file is found (200 HTTP OK code), additional extensions (related to backup files) are added to the queue
TODO
Some functionality is done quite ugly, let me know how you want to support it
backup extensions
are hardcoded to a list, should I read it from a file? a config parameter?_items
is directly accessed, should I add aDictionary
func to add items? is it allowed to add to_items
running it appears to have no ill effect