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

TODO: lib/whatweb/scan: refactor url list IP range concatenation #334

Open
bcoles opened this issue Oct 3, 2020 · 0 comments
Open

TODO: lib/whatweb/scan: refactor url list IP range concatenation #334

bcoles opened this issue Oct 3, 2020 · 0 comments

Comments

@bcoles
Copy link
Collaborator

bcoles commented Oct 3, 2020

      # TODO: refactor this. data which matches these regexs should be taken care of above
      url_list = url_list.select { |x| !(x =~ %r{^[0-9\.\-*\/]+$}) || x =~ /^[\d\.]+$/ }
      url_list += ip_range unless ip_range.empty?
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

No branches or pull requests

1 participant