Skip to content

Generate and decompile reliable binary images into text and files, such as a Qr code

License

Notifications You must be signed in to change notification settings

Jpsloureiro2002/Binary-QR-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Generate and decompile reliable binary images into text and files, such as a Qr code

Topics

Resources

License

Stars

Watchers

Forks

Languages