Sha256: 971b5aca9f900167af1ce5e37be7d891e22da6d30ebcf1569fa4471f1350c0d0

Contents?: true

Size: 614 Bytes

Versions: 14

Compression:

Stored size: 614 Bytes

Contents

require 'sinatra'

get '/' do
    <<-EOHTML
        <a href="/insecure">Insecure</a>
        <a href="/secure">Secure</a>
    EOHTML
end

get '/insecure' do
    <<-EOHTML
        <form>
            <input name='insecure' type='password' />
        </form>

        <form>
            <input id='insecure_2' type='password' />
        </form>

        Will be ignored.
        <form>
            <input type='password' />
        </form>
    EOHTML
end

get '/secure' do
    <<-EOHTML
        <form action="https://localhost/crap">
            <input name='secure' type='password' />
        </form>
    EOHTML
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
arachni-0.4.7 spec/support/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.6 spec/support/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.5.2 spec/support/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.5.1 spec/support/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.5 spec/support/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.4 spec/support/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.3.2 spec/support/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.3.1 spec/support/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.3 spec/support/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.2 spec/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.1.3 spec/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.1.2 spec/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.1.1 spec/servers/modules/recon/grep/unencrypted_password_forms.rb
arachni-0.4.1 spec/servers/modules/recon/grep/unencrypted_password_forms.rb