Obfuscate as QR-Code

Description

Convert a raw binary into a QR code and vice versa.

For better compatibility, the QR code is generated as Base64 string.

Notes:

  • Maximum binary size is 1852 bytes

Command

shencode obfuscate qrcode [-h] [-i INPUT] [-o OUTPUT] [-r]
 
options:
--help            show this help message and exit
--input INPUT     Input file for QR-Code encoding
--output OUTPUT   Outputfile for QR-Code encoding
--reverse         Reads data from QR code image

Example Output

[*] Try to open file sc.bin
[+] File sc.bin loaded
[+] Size of shellcode 1090 bytes
[+] Hash: b7227b2fefe1852243f211e70f433c7844fae1a5
[*] File size check passed
[*] Try to generate QR-Code
[+] File sc.png created
[+] Size 10130 bytes
[+] Hash: 834d13dbbfe3685821b29cfc10564a66e385b809
[+] DONE!

JSON Parameter

ArgumentsValuesType
inputfilenamestr
ouputfilenamestr
reversetrue, falsebool