Sha256: 4eff130556cd8b5eca321a7dbdc6fdf653dd88a4858b268927c26d994d34a851
Contents?: true
Size: 770 Bytes
Versions: 13
Compression:
Stored size: 770 Bytes
Contents
require 'spec_helper' describe Arachni::Platform::Fingerprinters::Gunicorn do include_examples 'fingerprinter' def platforms [:python, :gunicorn] end context 'when there is a Server header' do it 'identifies it as Gunicorn' do check_platforms Arachni::Page.from_data( url: 'http://stuff.com/blah', response: { headers: { 'Server' => 'gunicorn/18.0' } } ) end end context 'when there are X-Gunicorn headers' do it 'identifies it as Gunicorn' do check_platforms Arachni::Page.from_data( url: 'http://stuff.com/blah', response: { headers: { 'X-Gunicorn-Stuff' => 'Blah' } } ) end end end
Version data entries
13 entries across 13 versions & 1 rubygems