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

Unable to open the repaired image #2

Open
wikijm opened this issue Oct 13, 2019 · 0 comments
Open

Unable to open the repaired image #2

wikijm opened this issue Oct 13, 2019 · 0 comments

Comments

@wikijm
Copy link

wikijm commented Oct 13, 2019

Hi,

I encounter error below when I try to open the repaired image:

Traceback (most recent call last):
  File "/root/Root-Me/Forensic/PCRT/PCRT.py", line 780, in <module>
    my_png.CheckPNG()
  File "/root/Root-Me/Forensic/PCRT/PCRT.py", line 447, in CheckPNG
    img=Image.open(self.out_file)
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 2822, in open
    raise IOError("cannot identify image file %r" % (filename if filename else fp))
IOError: cannot identify image file 'output.png'

image

I don't know if it's relevant, bu the source image is coming from a security challenge. For now, the output.png file is a corrupted .png file.

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

1 participant