Sha256: 62e2f6f9bac6193f667ab863398ec286a24077b309bce0f201b7c37afa6e62d5
Contents?: true
Size: 664 Bytes
Versions: 9
Compression:
Stored size: 664 Bytes
Contents
require 'spec_helper' describe name_from_filename do include_examples 'plugin' before ( :all ) do options.do_not_crawl options.url = url options.audit :links framework.modules.load :xss end it 'logs safe and vuln URLs accordingly' do afr = fixtures_path + 'rescan.afr.tpl' updated = fixtures_path + 'rescan.afr' yaml_load( IO.read( afr ) ).save( updated ) options.plugins[name_from_filename] = { 'afr' => updated } run framework.modules.issues.should be_any framework.modules.issues.first.var.should == 'input' File.delete( updated ) end end
Version data entries
9 entries across 9 versions & 1 rubygems