Skip to content

Add Shodan API plugin for DNS subdomain enumeration#1119

Open
kato83 wants to merge 1 commit into
owasp-amass:developfrom
kato83:feature/add-shodan-plugin
Open

Add Shodan API plugin for DNS subdomain enumeration#1119
kato83 wants to merge 1 commit into
owasp-amass:developfrom
kato83:feature/add-shodan-plugin

Conversation

@kato83

@kato83 kato83 commented Apr 17, 2026

Copy link
Copy Markdown

Sorry, I closed #1118 because it included another implementation I was working on at the same time.

Re-add Shodan DNS plugin for v5.1.1

Summary

Re-add the Shodan subdomain enumeration plugin, which was removed upstream in v5, ported to the current API.

Changes

engine/plugins/api/shodan.go (new file)

Shodan plugin rewritten for the v5.1.1 API:

  • Handler.PriorityHandler.Position + MaxInstances
  • http.RequestWebPage(ctx, req)amasshttp.RequestWebPage(ctx, client, req)
  • Use e.Session.Ctx(), e.Session.NetSem(), and e.Session.Clients().General
  • Remove lookup() method (depends on removed SourceToAssetsWithinTTL)
  • Update import aliases (dnsamassdns, httpamasshttp)

engine/plugins/load.go

Register api.NewShodan in the plugin load list.

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.

1 participant