Comments (9)
Hey @j3ssie, thank you for the feedback. The main reason why I just let the user to choose the format is because Findomain is capable of run the scan from a list of targets into a file. When it happens how can I fight with that if the user have 1000 domains, for example? The only option that I see is to let the use set that filename option when it uses the -t
option that takes only a domain. Anyways I though that it's really not hard to automatize the job with the current model, see the following examples.
- To work directly with the output:
findomain -t domain.com |cut -c 5- |httprobe
You will get something similar to:
└─ ▶ findomain -t securityhacklabs.net |cut -c 5- |httprobe
http://dvwa.securityhacklabs.net
http://blackarch.securityhacklabs.net
http://biblio.securityhacklabs.net
http://chat.securityhacklabs.net
http://art.securityhacklabs.net
http://correo.securityhacklabs.net
http://cpanel.securityhacklabs.net
snip...
To work with a file:
findomain -t domain.com -o txt && cat domain.com_*.txt |httprobe
You will get something similar to:
└─ ▶ findomain -t securityhacklabs.net -o txt && cat securityhacklabs.net_*.txt |httprobe
Target ==> securityhacklabs.net
Searching in the CertSpotter API... 🔍
Searching in the Crtsh database... 🔍
Searching in the Sublist3r API... 🔍
Searching in the Spyse API... 🔍
Searching in the Bufferover API... 🔍
Searching in the Threadcrowd API... 🔍
Searching in the Virustotal API using apikey... 🔍
Searching in the Virustotal API... 🔍
Searching in the Facebook API... 🔍
An error ❌ has occurred while parsing the JSON obtained from the Threadcrowd API. Error description: JSON error.
A total of 50 subdomains were found for ==> securityhacklabs.net 👽
>> art.securityhacklabs.net
>> autodiscover.securityhacklabs.net
>> biblio.securityhacklabs.net
>> blackarch.securityhacklabs.net
...snip
>> www.wpbackup.securityhacklabs.net
Good luck Hax0r 💀!
>> 📁 Filename for the target securityhacklabs.net was saved in: ./securityhacklabs.net_7083.txt 😀
http://dvwa.securityhacklabs.net
http://chat.securityhacklabs.net
http://correo.securityhacklabs.net
http://art.securityhacklabs.net
http://biblio.securityhacklabs.net
http://blackarch.securityhacklabs.net
http://cpanel.securityhacklabs.net
http://autodiscover.securityhacklabs.net
http://foro.securityhacklabs.net
...snip
Cheers.
Edit:
The other option is to don't add any optional number but then it will not run if existing scans are there.
from findomain.
Hi @Edu4rdSHL,
Yeah, I understand the purpose with that for scan from a list of targets into a file. But I think it will be better if we can specify the postfix for the output like domain_postfix.txt
instead of a number.
Of course, we can do little hack with httprobe or unfurl but still need exactly output for other purposes.
Any really great tool.
Best regards,
from findomain.
Well, good idea. If I understand correctly the user can specify the $something.$format in the output. Like findomain -t domain.com -o one.txt
and the output should be domain.com_one.txt
?
from findomain.
Very nice simple but elegant :)
from findomain.
I'm working on it, @j3ssie. I will push to develop branch it weekend, will be good if you can do some testing before pushing to master.
from findomain.
Yeah, why not? Just commit a message on this issue I will testing for it :)
from findomain.
Hey @j3ssie. I have pushed a commit to the develop branch that will fix it issue definitively. Since that Findomain is capable of read N domains from a file it's a bit hard to just make the output file name a user choice when the -t option is used and not an user choice when reading domains from file.
I have just put the output file name with the same name as the domain. For example, if you execute findomain -t example.com -o
, the resulting output file name will be example.com
and if that file already exists when findomain is executed, Findomain will wait for valid results and then overwrite the file.
Please check https://github.com/Edu4rdSHL/findomain/releases/tag/0.2.8-rc1 when you can.
from findomain.
Thank @Edu4rdSHL, It work like a charm 😍
from findomain.
Due to compatibility issues, I will add TXT format to all output files. The issue that I have found is that, for example in Windows a file with name example.com
is interpreted as a MS-DOS (.com) Application
and that may cause problems for users that want to read the results.
from findomain.
Related Issues (20)
- Add -all flag to subfinder for more results please HOT 6
- A error has occurred while querying the Crtsh database. HOT 3
- Spyse is offline HOT 5
- Sources for subdomains HOT 6
- I am not able to build findomain properly HOT 3
- When a try to install findomain it giving me this error HOT 2
- Update the dependencies HOT 4
- conflicting implementations of trait HOT 2
- findomain not work with config option ? HOT 5
- Seemingly random freezes HOT 5
- Config file throws an error HOT 1
- Thread Failure HOT 1
- Release for Apple Silicon (arm64) HOT 3
- Feature Request: -silent mode to only output found subdomains. HOT 2
- findomain-linux 9.0.2 release still contains version 9.0.1 HOT 2
- amass external subdomain not working anymore HOT 2
- Telegram webhook option not working HOT 1
- STORE RESULTS BY A FILE WEBHOOK HOT 1
- Discord Webhook with request flags HOT 1
- Crtsh database. Error: error connecting to server: c onnection timed out HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from findomain.