-
-
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
Get all files by extension no matter what filename it has #1089
Comments
Hi, I don't understand what you are trying to say here, can you explain it clearer, with your current situation and what you expect to get? |
I have a directory with 2 files.
I want to make a wordlist which shows me those 2 files. I only know the extensions of the files and not their names. |
So for example you have a wordlist like this:
And you want to get only paths that have |
I think it should be:
|
Ah my bad. I made sure to copy paste that this time, but the output is still the same as before I am not sure if regex works or maybe it's a problem with case sensitivity. The filenames have mixed uppercase and lower case characters and sometimes characters such as EDIT: I think i have not pointed this out but the filenames have more than 1 character |
What bash command (or any way you tried) did you use to filter? |
As stated in the description i have run the following docker image (that i build locally using the provisioned docker file )
I am running this from a windows machine, but i dont think this matters. The The dictionary file which i used to get all .html and .pdf files is the following (but it doesn't work)
|
That should not be what is in the dictionary, dirsearch doesn't support wordlist with regex inside it (maybe something similar in the future?). Sorry for the late reply anyway! |
What is the feature?
I want to make a wordlist where i can search for all files of a specific extension. I don't know the name of these files.
I don't know if i am doing something wrong with my wordlist but i checked the manpage and the issues on this repository and i could not find any meaningful help
My word list looks like this:
For some reason it succesfully finds a file called
.html
but if it's calledtest.html
then it does not find it.From what i have tried i assume regex is not supported.
I am using the docker image on windows with the following batch script:
What is the use case?
I am under the impression that this program only searches specific names, so maybe a feature that retrives files just by their extension would be useful for quick testing.
The text was updated successfully, but these errors were encountered: