bannsec / stegoVeritas

Yet another Stego Tool
GNU General Public License v2.0
357 stars 38 forks source link

_dumpLSBRGBA #6

Closed adamlinux0 closed 5 years ago

adamlinux0 commented 6 years ago

Mode:   RGB

Trying 0.0.0
Traceback (most recent call last):
  File "stegoveritas.py", line 71, in <module>
    modules.image.run(fArray,args)
  File "~/Documents/stegoVeritas-master/modules/image/__init__.py", line 106, in run
    modules.image.imageLSB.auto(f,args)
  File "~/Documents/stegoVeritas-master/modules/image/imageLSB.py", line 142, in auto
    o = _dumpLSBRGBA(f=f,rIndex=[i],gIndex=[i],bIndex=[i])
  File "~/Documents/stegoVeritas-master/modules/image/imageLSB.py", line 93, in _dumpLSBRGBA
    binStr += str(fBytes[byte + 0] >> index & 1)
TypeError: unsupported operand type(s) for >>: 'str' and 'int' 
adamlinux0 commented 6 years ago

nevermind, your shebang should be #!/usr/bin/env python3 instead of #!/usr/bin/env python