Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MemoryError #20

Open
pdelteil opened this issue Sep 25, 2018 · 2 comments
Open

MemoryError #20

pdelteil opened this issue Sep 25, 2018 · 2 comments

Comments

@pdelteil
Copy link

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

@RobinDavid
Copy link
Owner

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.

@pdelteil
Copy link
Author

pdelteil commented Oct 8, 2018

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. 💃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants