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