0xploit.com

Python/Perl/Bash Code A Steganography Script with Python

K4NITEL

Administrator
Staff member
Admin
Joined
Jun 18, 2022
Messages
41
Hellcoins
♆435
Learn the basics of steganography with Python. Let's write two programs, the first one will read the bytes of the picture and look for some "messages" there, and the second one will hide the messages in the picture.

First, let's create a new file, for example read.py. And let's make a cFile variable that will open our picture:
You must reply before you can see the hidden data contained here.
Now we will read bytes, for this we will make a byte variable that will be equal to r.read (1), well, a k variable that will be equal to 0
You must reply before you can see the hidden data contained here.
Well, let's make them read bytes through a loop:
You must reply before you can see the hidden data contained here.
Whole code:
You must reply before you can see the hidden data contained here.
Okay, read.py is ready, now it's time to write main.py.

To do this, create a new file, and open the file:
You must reply before you can see the hidden data contained here.
Well, write to the picture:
You must reply before you can see the hidden data contained here.
Whole code:
You must reply before you can see the hidden data contained here.
Okay, now let's run on main.py, and write some words into it:
to check run read.py
 
Top