Skip to content
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

"reports" folder always created #1341

Closed
cyberaz0r opened this issue Nov 15, 2023 · 3 comments · May be fixed by #1348
Closed

"reports" folder always created #1341

cyberaz0r opened this issue Nov 15, 2023 · 3 comments · May be fixed by #1348
Labels
question Further information is requested

Comments

@cyberaz0r
Copy link

What is the problem?

The "reports" folder is created regardless of whether you specify a different path for the output file. Additionally you cannot set a flag for disabling output files.

How should it be solved?

There should be a flag to disable output file and it should not create the "reports" folder on the current working directory if a different path is specified via the -o option.

@cyberaz0r cyberaz0r added the bug Something isn't working label Nov 15, 2023
@ajcriado
Copy link

@cyberaz0r After inspecting the code I found that this is an option that is enabled by default. You can change it by modifying your config.ini file and setting autosave-report = True to autosave-report = False

@shelld3v
Copy link
Collaborator

@cyberaz0r dirsearch does not create "reports" folder if you have already declared the path of the output file via -o, the "reports" folder probably had been created before that. Also, @ajcriado has shown how to disable the auto-reporting feature, hope that helps

@shelld3v shelld3v added question Further information is requested and removed bug Something isn't working labels Dec 30, 2023
@ajcriado
Copy link

@shelld3v Indeed, it does create the "reports" folder and leaves it empty. I have created this pull request to control that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants