Giter Club home page Giter Club logo

viewstatedecoder's Introduction

Microsoft .NET ViewState Parser and Burp suite extension ViewStateDecoder

Language/Japanese

This tool is an extension of PortSwigger product, Burp Suite. Supports Burp suite Professional/Community.

Overview

This extension is a tool that allows you to display ViewState of ASP.NET. Note that it is also possible to decode using the command line.

ViewState has been hidden in Burp suite since v2020.3. It is intended for use with Burp suite v2020.x or later.

Fixed some issues with ViewState in the existing Burp suite.

About the latest version

The main repository (master) may contain code under development. Please download the stable release version from the following.

Please use the following versions

  • Burp suite v2023.1.2 or less than

    • ViewStateDecoder v2.2.14.0 or less than
  • Burp suite v2023.1.2 or above

    • ViewStateDecoder v3.0.0 or above
    • ViewStateDecoder v0.5.3.0 or less (currently available)

How to Use

The Burp Suite Extender can be loaded by following the steps below.

  1. Click [add] on the [Extender] tab
  2. Click [Select file ...] and select BigIPDiscover.jar.
  3. Click [Next], confirm that no error is occurring, and close the dialog with [Close].

Message Tab

If the __VIEWSTATE parameter exists, you can select the ViewState from the "select extension..." button in the Message Tab of History. button on the Message Tab of the History to select the ViewState.

ViewState-Tree Tab

Switch tabs to view Raw JSON.

ViewState-JSON Tab

ViewStateDecoder Tab

ViewStateDecoder Tab

  • [expand] Button Expand the selected tree.

  • [collapse] Button Collapse the selected tree.

  • [Decode] Button Decode the ViewState value.

  • [Clear] Button Clear the decoded value.

Command line option

It is possible to decode the value of ViewState from the command line.

java -jar ViewStateDecoder.jar -vs=<viewState>

Specify the ViewState to be decoded in . The response will be output in JSON format.

example)

java -jar ViewStateDecoder.jar -vs=/wEPDwUKLTM0MjUyMzM2OWRkmW75zyss5UROsLtrTEuOq7AGUDk=

MAC: true
digest: 996ef9cf2b2ce5444eb0bb6b4c4b8eabb0065039
{
  "Pair": [
    {
      "Pair": [
        {
          "string": "-342523369"
        },
        null
      ]
    },
    null
  ]
}

Even if the ViewState is URLEncoded, the ViewState will be output after URLDecode.

example)

java -jar ViewStateDecoder.jar -vs=%2FwEPDwUKLTM0MjUyMzM2OWRkmW75zyss5UROsLtrTEuOq7AGUDk%3D

You can also launch it standalone with the -gui option, which does not require Burp sute.

java -jar ViewStateDecoder.jar -gui

build

gradlew release

Runtime environment

.Java

.Burp suite

Development environment

Required libraries

Building requires a BurpExtensionCommons library.

Use Library

Operation is confirmed with the following versions.

  • Burp suite v2023.9.2

important

This tool developed by my own personal use, PortSwigger company is not related at all. Please do not ask PortSwigger about problems, etc. caused by using this tool.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.