Skip to content

Python utility and Flask Application to extract defanged urls from QR Codes - in the fight against phishy links and scammers

Notifications You must be signed in to change notification settings

RyanNgCT/SecureQRParse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SecureQRParse

  • Python Script and Web Application to extract urls and defang them from QR Codes.

1. Installation of Scripts and Dependencies

$ git clone https://github.com/RyanNgCT/SecureQRParse
$ cd SecureQRParse
$ pip install -r requirements.txt # optionally create virtual env

2. Usage

  • 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

To modify the css stylings:

a) install Node.js on your platform: https://nodejs.org/en/download/

b) run the npx script

$ cd App/FrontEnd
$ npm run create-css

Possible To-dos

  • 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.

Others

About

Python utility and Flask Application to extract defanged urls from QR Codes - in the fight against phishy links and scammers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published