Skip to content

Commit

Permalink
Support matching Values::EmailAddress in Scope#include? (closes #142
Browse files Browse the repository at this point in the history
).
  • Loading branch information
postmodern committed Jul 15, 2024
1 parent b46351d commit 3ec50d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ronin/recon/scope.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
require 'ronin/recon/values/ip_range'
require 'ronin/recon/values/ip'
require 'ronin/recon/values/url'
require 'ronin/recon/values/email_address'

module Ronin
module Recon
Expand Down Expand Up @@ -92,7 +93,8 @@ def include?(value)
when Values::Wildcard,
Values::Domain,
Values::Host,
Values::URL
Values::URL,
Values::EmailAddress
@host_values
when Values::IP,
Values::IPRange
Expand Down

0 comments on commit 3ec50d1

Please sign in to comment.