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

8 lines
169 B
Ruby

class Anemone::Extractors::Frames < Anemone::Extractors::Base
def run
doc.css( 'frame', 'iframe' ).map { |a| a.attributes['src'].content rescue next }
end
end