- Python Script and Web Application to extract urls and defang them from QR Codes.
$ git clone https://github.com/RyanNgCT/SecureQRParse
$ cd SecureQRParse
$ pip install -r requirements.txt # optionally create virtual env
- Command-Line Tool Interface (can use
--file
or--directory
to extract urls from a given file/directory).
$ cd App
$ python parse.py [--file/-f <FILE>] [--directory/-d <DIR>] [-h/--help]
- Flask Web App
# install dependencies first
$ cd App && flask run
Note: You may need to install Visual C++ Redistributable Packages for Visual Studio 2013 here, if you get a pyzbar dll fail to load /file not found issue
a) install Node.js on your platform: https://nodejs.org/en/download/
b) run the npx
script
$ cd App/FrontEnd
$ npm run create-css
- allow for recursive search (depth > 1) when looking at files in subdirectories/subfolders, while using the
--directory
flag. - convert and host python script as an interactive Flask Web-App.
- security mechanisms for Flask Web-App.
- Reference to set-up Tailwind CSS on Flask: https://www.codewithharry.com/blogpost/using-tailwind-with-flask/