Code Monkey home page Code Monkey logo

hiddeninplainsight's Introduction

HiddenInPlainSight

A multi-threaded command line interface based program for Image Steganography.
it uses an algorithm that I've developed in which there are 3 steps to encoding an image.

🔎 find closest ascii character in choosen encoding channel, and insert value to encode inside the encoding channel.
📌 Mark inside marking channel.
📑 create a "10 char buffer", and rank each character in pixel column.

Limitations

As we store ascii values inside the encoding channel, there is a need for a variety of color in the image.
Could encode upto:
10 characters per column = cc
Num of Characters = 10 * lines = n
Avg. of words:
$cc * n / 4.7$

Installation

  1. Install Open-CV :
    follow instruction at: https://docs.opencv.org/4.x/d7/d9f/tutorial_linux_install.html and run the following command in the CLI:
sudo apt-install libopencv-dev
  1. clone to chosen folder and compile the program:
git clone https://github.com/ImTheCurse/HiddenInPlainSight.git
cd HiddenInPlainSight
cmake .
make

Running the Program

  1. Place .png file to encode inside images folder.
  2. Place text file(or any other file that you can read from) inside textFile folder.
   usage:
   -h              : shows this screen.
   -i <image_path> : relative PNG image path(with name and extension).
   -f <file_path>  : relative file path to encode(with name and extension).
   -m <message>    : command line message to encode.
   -e              : encode image(write after all the flags).
   -d              : decode image(write after all the flags).

encoding image example:

./HIPS -i images/lena.png -f test.txt -e
./HIPS -i images/newroad.png -m "this is amazing!" -e

decoding image example:

./HIPS -i enc_file.png -d

Encoded image and Decoded file will be saved to results directory.

Disclaimer

This program is a proof-of-concept, and should not be intended for transfring important information, and I won't be liable for any damagaes caused by this program.

Copyright

This software is licensed under MIT. Copyright © 2022 Rani Giro

hiddeninplainsight's People

Contributors

imthecurse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

inputhacker

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.