RobinDavid / LSB-Steganography

Python program to steganography files into images using the Least Significant Bit.
Other
892 stars 264 forks source link

Overflow in range() when unhiding #11

Closed Wo1v3r closed 7 years ago

Wo1v3r commented 7 years ago

Trying to unhide a png with a hidden text, recieving that error:

python LSBSteg.py -steg-image steganography_lsb.png -out steg.bin Traceback (most recent call last): File "LSBSteg.py", line 242, in <module> main(av) File "LSBSteg.py", line 236, in main binary_steg_reveal(args.steg_image, args.out) File "LSBSteg.py", line 212, in binary_steg_reveal bin = steg.unhideBin() File "LSBSteg.py", line 194, in unhideBin for i in range(l): OverflowError: range() result has too many items

MaxToyberman commented 7 years ago

range() is limited in python2 ,use python3 or xrange instead of range @Wo1v3r

Wo1v3r commented 7 years ago

roger ty :)