>>107166918
>Recently it was hacked because typing update pkg && upgrade pkg was very difficult for the devs.
Consider that this would have broken everything because the 4chan source barely ran on PHP5.6, it didn't even use mysqli classes.
>Picrel was converted to a standard JPG which is why the file sizes don't match.
>Filesize of the jpegli: 1.76 MB
>Filesize of 4chan raped jpegli: 1.85 MB
4chan runs this on jpgs:
/usr/local/bin/jpegtran -copy none -outfile '$file' '$file'
so that might be why your file gets raped? I dunno. Nothing else in the source seems to point to a problem.
It's necessary to run that to remove all embedded file data, because niggers were uploading images with winrar archives embedded after the image data containing cheese pizza.
Also consider that 4chan serves files via cloudflare which do recompress the file, that's a bigger problem for a whole other heap of reasons, but it was again necessary because niggers uploaded images with cheese pizza embedded (google coomdev/pngextraembedder). And also cause it saves bandwidth.
so even though 4chan reports 1.86MB, the actual file sizes are:
xt5fcm.jpg -> 1849372
1762811920020213 -> 1852685
btw, the latest idiocy spammers try is storing encryption keys in filenames for catbox hosted cheese pizza, so expect original filenames to be removed soon as well.