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

8 lines
165 B
Ruby
Raw Normal View History

2012-11-01 19:18:05 +00:00
class Anemone::Extractors::Frames < Anemone::Extractors::Base
2012-11-16 21:11:48 +00:00
def run
doc.css( 'frame', 'iframe' ).map { |a| a.attributes['src'].content rescue next }
end
2012-11-01 19:18:05 +00:00
end