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

Is it possible to only output subdomains in a file without creating a dir? #796

Closed
rew1nter opened this issue Oct 20, 2023 · 4 comments
Closed
Assignees

Comments

@rew1nter
Copy link

No description provided.

@TheTechromancer
Copy link
Collaborator

This is a commonly requested feature that we will hopefully add soon.

In the meantime, you can grep the output like so:

bbot -t evilcorp.com -f subdomain-enum | grep -F '[DNS_NAME]' | grep in-scope | cut -f2

@TheTechromancer
Copy link
Collaborator

This feature will be added along with presets: #802.

@rew1nter
Copy link
Author

What is the new way of doing this after the update?

@TheTechromancer
Copy link
Collaborator

The presets feature has not been added yet, so currently you can do this by either grepping the output:

bbot -t evilcorp.com -f subdomain-enum | grep -F '[DNS_NAME]' | grep in-scope | cut -f2

Or grabbing it directly from subdomains.txt, which you can tail if you like. BBOT does create a folder, but you can control its name and where it goes:

bbot -t evilcorp.com -f subdomain-enum -n scan_name -o .

The above command will create a folder called scan_name in the current directory.

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

No branches or pull requests

2 participants