Giter Site home page Giter Site logo

0xacb / viewgen Goto Github PK

View Code? Open in Web Editor NEW
570.0 10.0 84.0 66 KB

Viewgen is a ViewState tool capable of generating both signed and encrypted payloads with leaked validation keys

License: MIT License

Shell 0.58% Python 97.33% Dockerfile 2.10%
asp-net viewstate hacking-tools

viewgen's People

Contributors

0xacb avatar hzllaga avatar omribaso avatar x1mdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

viewgen's Issues

error occurred during decoding. (base64.py)

cmd:

viewgen --decode --check "wj1xZq6mBsd3lzeSkS5XAdzr3fTHDZu2S670y6Kh7aX9ysgqKBY7lffyB5Ir/8ugvZhSH3H8i6X9P9LmJhHVPPgLSqHbGSn7ukxzr+SdhJz7dB4g29cus+s5ePSGxgXtjzag44rqYX2bzB6aDnDwJygMnxew6F+k1gScEgwdUicybHbAakcngc//jW6bhY42cBopNfgIrg0TmrK23xwkyyb0axFuqaGJMw2qImKswPI=" --vkey "70DBADBFF4B7A13BE67DD0B11B177936F8F3C98BCE2E0A4F222F7A769804D451ACDB196572FFF76106F33DCEA1571D061336E68B12CF0AF62D56829D2A48F1B0" --valg "SHA1" --modifier "C2EE9ABB"

error

Traceback (most recent call last):
File "/usr/local/bin/viewgen", line 358, in
run_viewgen(args)
File "/usr/local/bin/viewgen", line 314, in run_viewgen
encoded = viewgen.encode(viewstate, reuse_iv=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/viewgen", line 65, in encode
return self.sign(payload)
^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/viewgen", line 165, in sign
data = base64.b64decode(payload)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/base64.py", line 83, in b64decode
s = _bytes_from_decode_data(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/base64.py", line 45, in _bytes_from_decode_data
raise TypeError("argument should be a bytes-like object or ASCII "
TypeError: argument should be a bytes-like object or ASCII string, not 'NoneType'

Argument list too long

Hi,

I have very very long VIEWSTATE and when I try to decode I have error
"bash: /usr/local/bin/viewgen: Argument list too long"

Image of error

how i can use your tool with viewstate with 175k characters?

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.