PCRT icon indicating copy to clipboard operation
PCRT copied to clipboard

Unable to open the repaired image

Open wikijm opened this issue 6 years ago • 0 comments

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.

wikijm avatar Oct 13 '19 17:10 wikijm