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

Added ability for additional, custom fingerprints. #109

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SecGus
Copy link

@SecGus SecGus commented Nov 7, 2024

As title, added the ability to specify a custom fingerprints file as an argument (optional). This will append the custom fingerprints to the main, original list of fingerprints.

Added ability to specify a custom path to a fingerprints.json file which will append new fingerprints to the old, embedded ones.
@dogancanbakir dogancanbakir self-requested a review November 7, 2024 18:53
@GeorginaReeder
Copy link

Thanks so much for your contribution @SecGus ! :)

We also have a Discord server, which you’re more than welcome to join. It's a great place to connect with fellow contributors and stay updated with the latest developments!

@@ -13,14 +14,19 @@ type Wappalyze struct {
}

// New creates a new tech detection instance
func New() (*Wappalyze, error) {
func New(customFilePaths ...string) (*Wappalyze, error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about we rename the loadFingerprints as loadDefaultFingerprints and then introduce a new method called something like AddFingerprints etc., to make it cleaner?

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.

3 participants