Is it possible to decode EventValidation and ViewState in ASP.NET?

后端 未结 5 1126
误落风尘
误落风尘 2021-02-20 16:02

How to decode the ASP.NET EventValidation and ViewState?

5条回答
  •  迷失自我
    2021-02-20 16:26

    You can use this link if use python.

    Best way is use this link.

    A small Python 3.5+ library for decoding ASP.NET viewstate.

    First install that: pip install viewstate

    >>> from viewstate import ViewState
    >>> base64_encoded_viewstate = '/wEPBQVhYmNkZQ9nAgE='
    >>> vs = ViewState(base64_encoded_viewstate)
    >>> vs.decode()
    ('abcde', (True, 1))
    

提交回复
热议问题