I use software called DotNetPanel (DNP) and I’m modifying PHProxy to automatically log into the administration panels for me. I’ve done this for several other types of software – like cPanel – just fine using authentication headers or POST variables, but DNP uses something I’m not familiar with – ViewState.
- When I POST the user/pass data the page refreshes like nothing even happened.
- When I POST the user/pass/__VIEWSTATE data the page produces a http://support.microsoft.com/default.aspx?scid=kb;EN-US;323744 error.
Any ideas?
What is funny is if I write a javascript function to fill in the same information and the page and simulate a ‘click’ on the login button it works just fine.
Try and find out exactly what’s happening when you log-in normally (ie: what’s being posted, cookies that are being set, authentication methods, etc.) and reproduce that with PHProxy or whatever. To see that information, try using a tool like LiveHTTPHeaders.