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

add --urls-only option #1394

Closed
wants to merge 3 commits into from
Closed

add --urls-only option #1394

wants to merge 3 commits into from

Conversation

zrquan
Copy link
Contributor

@zrquan zrquan commented Sep 13, 2024

Description

This PR added the --urls-only option to make dirsearch output only the full_url, which is useful to pipe the output to other tools.

Like: dirsearch -u http://172.18.0.2:8080 -e html -i 200 --urls-only | httpx-toolkit -title

Requirements

  • Add your name to CONTRIBUTORS.md
  • If this is a new feature, then please add some additional information about it to CHANGELOG.md

@shelld3v
Copy link
Collaborator

I don't think --silent is a good name, probably --urls-only is what I would accept. However, I still don't know if this is worth an option, as there are already too many options and many more will be added in the future

@zrquan
Copy link
Contributor Author

zrquan commented Sep 19, 2024

I don't think --silent is a good name, probably --urls-only is what I would accept

Okay, I used this name just because ProjectDiscovery tools use it.

I still don't know if this is worth an option

From my own experience, this is more useful than quiet mode. I'd love to start a discussion to see what others think.

@zrquan zrquan changed the title add --silent option add --urls-only option Sep 19, 2024
@zrquan
Copy link
Contributor Author

zrquan commented Sep 21, 2024

How about -qq, --quite-quiet, just like -vv in some tools 🤔

@shelld3v
Copy link
Collaborator

shelld3v commented Oct 4, 2024

I just realized simple output format actually gives you the same output as this. Why don't you use that? 🤔

@zrquan
Copy link
Contributor Author

zrquan commented Oct 8, 2024

I just realized simple output format actually gives you the same output as this.

My bad—I didn't catch this parameter earlier.

@zrquan zrquan closed this Oct 8, 2024
@zrquan zrquan deleted the silent branch October 12, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants