Cool Viewstate Decoder

Paul Wilson has put together a pretty darn cool Viewstate decoder that enables you to see what the viewstate on an ASP.NET page looks like:

He has also written a good article that describes the ASP.NET viewstate process:

Note that ViewState is MAC (message authentication check) encoded to prevent tampering by remote clients.  As such, while you can decypher the viewstate settings using the above program, you can't actually change them and repost to the server.  You can also set a stronger level of ViewState to prevent the above decoder from working by changing your encryption key settings in either machine.config or web.config.

Update: Someone just pointed me at another ViewState Decoder that Fritz Onion has also done.  Looks very good, and comes with complete source code.


Comments have been disabled for this content.