Skip to content

Commit

Permalink
remove passivetotal
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Jan 23, 2025
1 parent da756e8 commit e29b77d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 135 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ jobs:
HUNTER_API_KEY: ${{secrets.HUNTER_API_KEY}}
INTELX_API_KEY: ${{secrets.INTELX_API_KEY}}
LEAKIX_API_KEY: ${{secrets.LEAKIX_API_KEY}}
PASSIVETOTAL_API_KEY: ${{secrets.PASSIVETOTAL_API_KEY}}
QUAKE_API_KEY: ${{secrets.QUAKE_API_KEY}}
ROBTEX_API_KEY: ${{secrets.ROBTEX_API_KEY}}
SECURITYTRAILS_API_KEY: ${{secrets.SECURITYTRAILS_API_KEY}}
Expand Down
6 changes: 1 addition & 5 deletions v2/pkg/passive/sources.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
"github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/intelx"
"github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/leakix"
"github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/netlas"
"github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/passivetotal"
"github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/quake"
"github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/rapiddns"
"github.com/projectdiscovery/subfinder/v2/pkg/subscraping/sources/redhuntlabs"
Expand Down Expand Up @@ -75,7 +74,6 @@ var AllSources = [...]subscraping.Source{
&intelx.Source{},
&netlas.Source{},
&leakix.Source{},
&passivetotal.Source{},
&quake.Source{},
&rapiddns.Source{},
&redhuntlabs.Source{},
Expand All @@ -97,9 +95,7 @@ var AllSources = [...]subscraping.Source{
}

var sourceWarnings = mapsutil.NewSyncLockMap[string, string](
mapsutil.WithMap(mapsutil.Map[string, string]{
"passivetotal": "New API credentials for PassiveTotal can't be generated, but existing user account credentials are still functional. Please ensure your integrations are using valid credentials.",
}))
mapsutil.WithMap(mapsutil.Map[string, string]{}))

var NameSourceMap = make(map[string]subscraping.Source, len(AllSources))

Expand Down
3 changes: 0 additions & 3 deletions v2/pkg/passive/sources_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ var (
"hackertarget",
"intelx",
"netlas",
"passivetotal",
"quake",
"rapiddns",
"redhuntlabs",
Expand Down Expand Up @@ -74,7 +73,6 @@ var (
"fullhunt",
"hackertarget",
"intelx",
"passivetotal",
"quake",
"redhuntlabs",
"robtex",
Expand All @@ -100,7 +98,6 @@ var (
"dnsdb",
"digitorus",
"hackertarget",
"passivetotal",
"securitytrails",
"virustotal",
"leakix",
Expand Down
126 changes: 0 additions & 126 deletions v2/pkg/subscraping/sources/passivetotal/passivetotal.go

This file was deleted.

0 comments on commit e29b77d

Please sign in to comment.