-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Source composition with base embed source #715
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
vzamanillo
commented
Nov 23, 2022
- Treats sources as interfaces
- Every source embeds a proper base source to prevent code duplication
- Adds source type and API key type to extend the source information when listing the available sources.
CI is failing due to:
|
Conflicts: v2/pkg/passive/sources.go v2/pkg/subscraping/sources/crtsh/crtsh.go
Conflicts: v2/pkg/passive/sources.go
Conflicts: v2/pkg/passive/sources.go
Conflicts: v2/pkg/passive/passive.go v2/pkg/subscraping/sources/alienvault/alienvault.go v2/pkg/subscraping/sources/anubis/anubis.go v2/pkg/subscraping/sources/bevigil/bevigil.go v2/pkg/subscraping/sources/binaryedge/binaryedge.go v2/pkg/subscraping/sources/bufferover/bufferover.go v2/pkg/subscraping/sources/c99/c99.go v2/pkg/subscraping/sources/censys/censys.go v2/pkg/subscraping/sources/certspotter/certspotter.go v2/pkg/subscraping/sources/chaos/chaos.go v2/pkg/subscraping/sources/chinaz/chinaz.go v2/pkg/subscraping/sources/commoncrawl/commoncrawl.go v2/pkg/subscraping/sources/crtsh/crtsh.go v2/pkg/subscraping/sources/digitorus/digitorus.go v2/pkg/subscraping/sources/dnsdb/dnsdb.go v2/pkg/subscraping/sources/dnsdumpster/dnsdumpster.go v2/pkg/subscraping/sources/dnsrepo/dnsrepo.go v2/pkg/subscraping/sources/fofa/fofa.go v2/pkg/subscraping/sources/fullhunt/fullhunt.go v2/pkg/subscraping/sources/github/github.go v2/pkg/subscraping/sources/hackertarget/hackertarget.go v2/pkg/subscraping/sources/hunter/hunter.go v2/pkg/subscraping/sources/intelx/intelx.go v2/pkg/subscraping/sources/passivetotal/passivetotal.go v2/pkg/subscraping/sources/quake/quake.go v2/pkg/subscraping/sources/rapiddns/rapiddns.go v2/pkg/subscraping/sources/reconcloud/reconcloud.go v2/pkg/subscraping/sources/riddler/riddler.go v2/pkg/subscraping/sources/robtex/robtext.go v2/pkg/subscraping/sources/securitytrails/securitytrails.go v2/pkg/subscraping/sources/shodan/shodan.go v2/pkg/subscraping/sources/sitedossier/sitedossier.go v2/pkg/subscraping/sources/threatbook/threatbook.go v2/pkg/subscraping/sources/threatminer/threatminer.go v2/pkg/subscraping/sources/virustotal/virustotal.go v2/pkg/subscraping/sources/waybackarchive/waybackarchive.go v2/pkg/subscraping/sources/whoisxmlapi/whoisxmlapi.go v2/pkg/subscraping/sources/zoomeye/zoomeye.go v2/pkg/subscraping/sources/zoomeyeapi/zoomeyeapi.go v2/pkg/subscraping/types.go
@vzamanillo , I have already implemented this due to ongoing necessary code refactoring and performance improvements. I think we can close this . Following changes were done
and a lot more |
Ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.