ViewState Decoder AddOn for Firefox

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.

Before downloading

THIS SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTIES OF ANY KIND. THE AUTHOR IS IN NO WAY RESPONSIBLE FOR ANY DAMAGE CAUSED BY INSTALLATION AND/OR USE OF THIS SOFTWARE. THIS SOFTWARE IS EXPERIMENTAL WORK AND NOT THROUGHLY TESTED. USE IT AT YOUR OWN RISK.

ViewStatePeeker after installation

Context menu showing 'Show Viewstate' item.

Window showing viewstate details