Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A arachni
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 125
    • Issues 125
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arachni - Web Application Security Scanner Framework
  • arachni
  • Issues
  • #767
Closed
Open
Issue created Aug 22, 2016 by Administrator@rootContributor

plugin login_script does not load page

Created by: m6a-UdS

Hello,

I have some trouble recently with the login_script plugin: It does not load the page. Here is my login_script:

ret = browser.goto 'https://mywebsite.com' puts 'RET: ' + ret puts 'STATUS: ' + browser.status puts 'HTML: ' + browser.html form = browser.form( action: '/login/') form.text_field(name: 'username').set('someuser') form.text_field(name: 'password').set('<XXX>')

form.submit sleep(10)

framework.options.session.check_url = browser.url framework.options.session.check_pattern = /logout/

Here is what I got as output:

RET: about:blank STATUS: HTML: <html><head></head><body></body></html>

Notice that this started happening not long ago (about 3 of weeks max), nothing changed about the said website; It seems to me that the login_script stays stuck on about:blank and never executes the browser.goto instruction.

I was thinking about this issue with PhantomJS (our SSL stack is managed by the Amazon Load Balancers, so it should not be outdated...) but I get from this conversation that it might not be the case.

I tried this with Ubuntu 14.04 and Kali 2.0

Any help appreciated, thank you!

EDIT: Also note that the same code works as "stand-alone" ruby, when browser is a normal watir browser. UPDATE: Same result with the nightlies...

Assignee
Assign to
Time tracking