Sha256: 99f188ff063219e85a37a55596913a6943651d7b281a128be11378c901994ed2
Contents?: true
Size: 694 Bytes
Versions: 4
Compression:
Stored size: 694 Bytes
Contents
require_relative '../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 'should log safe and vuln URLs accordingly' do afr = spec_path + '/fixtures/rescan.afr.tpl' updated = spec_path + '/fixtures/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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
arachni-0.4.1.3 | spec/plugins/rescan_spec.rb |
arachni-0.4.1.2 | spec/plugins/rescan_spec.rb |
arachni-0.4.1.1 | spec/plugins/rescan_spec.rb |
arachni-0.4.1 | spec/plugins/rescan_spec.rb |