Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.22 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.22 KB

EncDec

Tool based in python to url encode and decode string.


INSTALLATION AND USAGE

Requires python 3.7 or higher

Install with git: git clone https://github.com/kratintiwari/EncDec.git

Go to folder

Run with python3 command : python3 encdec.py -options

OPTIONS

  • -h : help option (encdec.py -e 'string to URLencode' / encdec.py -d 'string to URLdecode' )
  • -e : encode option ( -e 'string to urlencode' )
  • -d : decode option ( -d 'encode string to decode into plain text' )

EXAMPLES

python3 encdec.py -e 'https//xyz.com/?go_to=javascript:alert('1')'

RESULT

-------------------
https%2F%2Fxyz.com%2F%3Fgo_to%3Djavascript%3Aalert%281%29
-------------------

python3 encdec.py -d 'https%2F%2Fxyz.com%2F%3Fgo_to%3Djavascript%3Aalert%281%29'

RESULT

-------------------
https//xyz.com/?go_to=javascript:alert('1')
-------------------

LICENSE

Copyright (c) Kratin Tiwari [email protected]
Licencse : GNU General Public License