metasploit-framework/lib/anemone/extractors/links.rb

8 lines
147 B
Ruby
Raw Normal View History

2012-11-01 19:18:05 +00:00
class Anemone::Extractors::Links < Anemone::Extractors::Base
def run
doc.search( "//link[@href]" ).map { |a| a['href'] }
end
end