3 ms·
What was the "ASP.net view state parser"?
by woah 12y ago
What was the "ASP.net view state parser"?
- joshschreuder 12y agoBlog post: http://theiostream.tumblr.com/post/73637206523/parsing-asp-net-new-view-state http://theiostream.tumblr.com/post/73637206523/parsing-asp-n... And accompanying source code: https://github.com/theiostream/viewstate https://github.com/theiostream/viewstate
- glassx 12y agoIt's been a while since I last had to parse ASP.NET pages, but AFAIK, the viewstate isn't meant to be parsed by clients, you just have to re-send it during postbacks. It's more like a cookie, or Rails' authenticity_token [1]. [1] http://stackoverflow.com/questions/941594/understand-rails-authenticity-token http://stackoverflow.com/questions/941594/understand-rails-a... EDIT: Oh, ok. Re-reading the article, he was parsing the ViewState because there was some data hidden in there (a serious flaw actually), instead of scraping the site normally! Clever!