:::: MENU ::::

Wednesday, September 24, 2008

This is my first shot at creating add-ons for Firefox. This add-on can decode and show viewstate contents of an *.aspx page. Once you intall this add-on, it shows up a 'Show Viewstate' item in context menu of Firefox. When this menuitem is clicked, a popup comes up showing the viewstate details.

There are a couple of things I want to make clear here:

  • This add-on does NOT decrypt viewstate. It means it does not work on encrypted viewstate.
  • This add-on does NOT perform deserialization of viewstate. It was just designed to give a sneak-peek of whats in the viewstate. This information could be useful to developers and testers of web applications.

The contents of ViewState are serialized using 'LOSFormatter' which performs ASCII serialization and encodes the output using Base64 encoding. This add-on merely performs a Base64 decoding and shows the content of viewstate.

 

More