RobinDavid / LSB-Steganography

Python program to steganography files into images using the Least Significant Bit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MemoryError

pdelteil opened this issue · comments

LSBSteg.py decode -i file.png -o output.txt

Traceback (most recent call last):
File "/usr/local/bin/LSBSteg.py", line 189, in
main()
File "/usr/local/bin/LSBSteg.py", line 183, in main
raw = steg.decode_binary()
File "/usr/local/bin/LSBSteg.py", line 165, in decode_binary
for i in range(l):
MemoryError

Hi Philippe,
Sorry for the delay of response.
Are you sure, you correctly did embbed an hidden message in file.png beforehand ?
That means you filled your RAM because the size of the file read by l = int(self.read_bits(64), 2) is incorrect.

Hello Robin,

I was trying to solve a Stego Challenge, so, the file might not have anything to decode. But still, some error should be displayed. 💃