or Create a profile
04 Dec, 2018 04:21 AM
I've been trying to get a login script working for one of the web applications for which the login interaction is a bit complex and required some extra steps, I was able to get it working successfully using the mechanize gem, and it works fine as a standalone, but when I try and run it from within the login script it throws a number of errors.
It seems to error out constantly on my require statement for mechanize, however the gem is installed under the correct arachni directory, and I can load it under the arachni_shell when I drop to irb, but it fails at run time with
[-] [components/plugins/login_script#prepare:59] Login script: [LoadError] cannot load such file -- mechanize It fails with the same error if I try and use backticks or exec to call the script as well.
Any advice on how I can use mechanize to obtain the cookies needed for a valid session and then load them into arachni?
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the Arachni staff to resolve this discussion.
This discussion is private.
Only you and Arachni support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.