fcavallarin/htcap

[Question] Working with login forms

anonymous-lama opened this issue · 2 comments

Hi Htcap team,

Thanks for the wonderful work (really, your tool is awesome).
I'd just like to ask a quick question:

Do you know how can we work with applications that require user login?
I'm able to know precisely on which page the login page is. I've got some credentials to test. But, I don't know where in the tool I can tell to use those credentials for login. By default, the tool is using default credentials, which don't work on my application.

As I believe that many other people are also asking this question, it can also be worth adding it on a wiki or some documentation page.

Thanks a lot

Hi!
Thanks, it's always pleasant to get feedback like this!

To work with apps that require authentication you could either add a session cookie with -c or -C option or add an authentication header with the -E options.

I agree that I should add documentation and/or features to achieve authentication with less pain.

In the next weeks I will update this project with new features and bugfixes.

Added support for login sequence! Now it should be easy to login to both form-based pages and to ajax ones (see doc on website)