This program generates and shows QR codes with malicious payloads.
- Move inside this folder with the terminal
- Execute
python main.py [options]
- Python (3.9+) and PIP
- For the first time, run
pip install -r requirements.txt
to install all the mandatory dependencies - Tip: install extra packages for tkinter using:
sudo apt install python3-tk
- For the first time, run
words/
: collection of dictionaries; each word is listed line by line.
This is an example on how to add new applications support.
# [Edit file] qr_builder.py
class qrbuilder:
def standard(payload: str):
return payload
def myapplication(payload: str):
# Return custom payload
pass
# [Edit file] qr_gen.py
app_names = {
"standard" : qrbuilder.standard,
"myapp" : qrbuilder.myapplication,
# ...
}
# Type in a terminal
python main.py -a myapp