Sha256: 9cd16bf69266da4e0388563423d28363ecd05a68b1d00b355e237070b9855def
Contents?: true
Size: 776 Bytes
Versions: 13
Compression:
Stored size: 776 Bytes
Contents
require 'spec_helper' describe Arachni::Platform::Fingerprinters::CherryPy do include_examples 'fingerprinter' def platforms [:python, :cherrypy] end context 'when there is a Server header' do it 'identifies it as CherryPy' do check_platforms Arachni::Page.from_data( url: 'http://stuff.com/blah', response: { headers: { 'Server' => 'CherryPy/0.1' } } ) end end context 'when there is an X-Powered-By header' do it 'identifies it as CherryPy' do check_platforms Arachni::Page.from_data( url: 'http://stuff.com/blah', response: { headers: { 'X-Powered-By' => 'CherryPy/0.1' } } ) end end end
Version data entries
13 entries across 13 versions & 1 rubygems