Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 2.12 KB

README.md

File metadata and controls

52 lines (35 loc) · 2.12 KB

Binary-QR-Code

Generator and decompiler of a binary image, with basic cryptography, and with the compiler with in built commands.

What you need

  • You must first install PILLOW, TKINTER, CTYPES

pip install tkinter
pip install pillow
pip install ctypes

How it works:

  • Generates a 160x160 .gif image with the conversion of characters in ASCII to binary that will be reperesented by white(0) and black(1) pixels
  • Decompile the image back to text
  • The decompiler can also Compile commands for example if at the beginning of the text is file:[py] it will create a file output_0.py
  • All characters have an 8 bit binary match which can be re-arranged to "encrypt" the output
  • The characters that are not included are special characters like [&, ?, $] - (represent actions like tab, null_space, and newline), [characters with ',`,^,~], [!,£,€,§,|].
  • The Library file contains the conversion dictionary where you can add new characters or change the code corresponding to the characters.

How to run it:

  • There are 2 Files called Decode.py and Generate.py, they are two files with visual support that you can use them in a more friendly way, run with python for now.

Future improvements:

  • Fix some bugs
  • Clean up the Code
  • Make the 2 executables into one
  • Add more characters
  • Improve file creation code

Example

File Example

Not Found

Image output

Not Found

Popup Example

Not Found

Image output

Not Found

Open .exe Files Example

Not Found

URL Example

Not Found