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

8 lines
141 B
Ruby
Raw Normal View History

2012-11-01 19:18:05 +00:00
class Anemone::Extractors::Scripts < Anemone::Extractors::Base
2013-08-30 21:28:33 +00:00
def run
doc.search( '//script[@src]' ).map { |a| a['src'] }
end
2012-11-01 19:18:05 +00:00
end