ASPXAUTH Authentication

This forum is intended for the discussion of Nagios plugin development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The nagiosplug-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

ASPXAUTH Authentication

Postby DaveClick » Mon Nov 14, 2016 5:26 pm

Does webinject work with ASP.NET Forms Authentication. Upon posting to the login page I do not receive a redirect. Does webinject v1.41 handle the .ASPXAUTH cookie?
I do receive and follow the original redirect in the forms authentication flow but upon posting the credentials I simply receive 200 and the login page, not a redirect.

Forms Authentication flow can be found in figure 1 of this reference:

Thanks, Dave
Posts: 5
Joined: Thu Jul 21, 2016 10:52 am

Re: ASPXAUTH Authentication

Postby rkennedy » Mon Nov 14, 2016 5:47 pm

Based on their documentation, I would imagine it's possible - this question may be better asked to them though. This part of the documentation refers to it -

Code: Select all
Does WebInject support HTTP Authentication?
Yes. HTTP Basic Authentication is supported.

Can WebInject handle Cookies for state management between requests?
Yes. WebInject automatically handles HTTP Cookies for you. When a "Set-Cookie" is sent back in the HTTP header from the web server, the Cookie is stored and sent back with subsequent requests to the domain it was set from.

Can WebInject handle embedded Session ID's, .NET ViewStates, and other dynamic URL rewriting?
Yes. Cookieless session handling and state management is possible by parsing data from an HTTP response and storing it to be resent in subsequent requests. See the Manual section on "Session Handling and State Management" for information.
Posts: 6545
Joined: Mon Oct 05, 2015 11:45 am

Re: ASPXAUTH Authentication

Postby DaveClick » Tue Nov 15, 2016 2:16 pm

Thank you for your reply. I am aware of the information from the webinject manual you pointed out. Is there an example you can point be to for a testcase file that works with ASP.NET Forms Authentication?
Posts: 5
Joined: Thu Jul 21, 2016 10:52 am

Re: ASPXAUTH Authentication

Postby tmcdonald » Tue Nov 15, 2016 5:41 pm

This is a question that would be better asked of someone who actively maintains WebInject, as it is not our software. The plugin that is most often used with WebInject is basically just a wrapper around the core engine.

Unfortunately, the forums for WebInject look like they have not been in use for some time:!forum/webinject

There is some information about the development on the webpage:
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Support Manager
Posts: 8177
Joined: Mon Sep 23, 2013 8:40 am

Return to Nagios Plugin Development

Who is online

Users browsing this forum: No registered users and 2 guests