Simple html to numbers converter, i develop this script to automate html injection tests on web pages
The code uses xclip to copy the output to the clipboard, so you save yourself the step of copying, this only applies to the --string parameter, you can also decide to copy when using the --file parameter
sudo apt-get install xclip -y
python3 char_html.py --help
- -s, --string: When you want to convert just a html string
- -f, --file: Pass it a file with html code, the --output parameter is required if this parameter is used
- -o, --output: Generate a file where the converted html will go
- -x, --xclip: Decide if you want to copy the content of the file generated by --output