From 64f84aa1b4bf604835406577e994556e72fd76c9 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 19 Feb 2018 15:02:33 +0100 Subject: Initial README change and LICENSE --- LICENSE.txt | 21 +++++++++++++++++++++ README.md | 21 --------------------- README.rst | 25 +++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 21 deletions(-) create mode 100644 LICENSE.txt delete mode 100644 README.md create mode 100644 README.rst diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..3d3c2fa --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Yuval Adam + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index 6d2b76b..0000000 --- a/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# .NET Viewstate Decoder - -A small Python library for decoding .NET viewstate. Can be used in various scraping scenarios. - -## Usage - -```python -from viewstate import ViewState -vs = ViewState(base64EncodedViewState) -``` - -## Test - -```python -python test.py -``` - -## References - - - https://github.com/mutantzombie/JavaScript-ViewState-Parser - - http://viewstatedecoder.azurewebsites.net/ diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..ce0fa1d --- /dev/null +++ b/README.rst @@ -0,0 +1,25 @@ +.NET Viewstate Decoder +====================== + +A small Python library for decoding .NET viewstate. Can be used in various scraping scenarios. + +Usage +----- + +```python +from viewstate import ViewState +vs = ViewState(base64EncodedViewState) +``` + +Test +---- + +```python +python test.py +``` + +References +---------- + +- https://github.com/mutantzombie/JavaScript-ViewState-Parser +- http://viewstatedecoder.azurewebsites.net/ -- cgit v1.3.1