Giter Site home page Giter Site logo

Comments (9)

Edu4rdSHL avatar Edu4rdSHL commented on May 22, 2024

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.

j3ssie avatar j3ssie commented on May 22, 2024

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.

Edu4rdSHL avatar Edu4rdSHL commented on May 22, 2024

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.

j3ssie avatar j3ssie commented on May 22, 2024

Very nice simple but elegant :)

from findomain.

Edu4rdSHL avatar Edu4rdSHL commented on May 22, 2024

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.

j3ssie avatar j3ssie commented on May 22, 2024

Yeah, why not? Just commit a message on this issue I will testing for it :)

from findomain.

Edu4rdSHL avatar Edu4rdSHL commented on May 22, 2024

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.

j3ssie avatar j3ssie commented on May 22, 2024

Thank @Edu4rdSHL, It work like a charm 😍

from findomain.

Edu4rdSHL avatar Edu4rdSHL commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.