Viz Manga Deobfuscator
Viz manga pages are delivered to the browser as obfuscated images and the client JS is responsible for deobfuscation of those images for the viewer to read. This program reproduces the deobfuscate logic to produce a readable image.
obfuscated image:
deobfuscated image:
The image Exif metadata stores a hex digest to deobfuscate the image. Using the each byte value of the digest with it's position in the digest, we can select the appropriate tile in the obfuscated image and put it in the proper place in the deobfuscated image.
DISCLAIMER: I am not licensed or affiliated with Viz Media and this repository is meant for informational purposes only.
Installation
pip install viz-image-deobfuscate
Usage
This package exposes deobfuscate_image that accepts a path to an image and returns an PIL Image of the deobfuscated image.
from viz_image_deobfuscate import deobfuscate_image
deobfuscated = deobfuscate_image("raw.jpg")
deobfuscated.save("page.jpg")
CLI Usage
Bundled with this package is a CLI tool for scripting/testing purposes.
usage: image-deobfuscate-cli [-h] obfuscated_image deobfuscated_image
Deobfuscate manage page image.
positional arguments:
obfuscated_image Path to the obfuscated image.
deobfuscated_image Output path to the obfuscated image.
options:
-h, --help show this help message and exit
Example
>>> image-deobfuscate-cli raw1.jpg page1.jpg
Successfully deobfuscated image at: page1.jpg
Docker
Alternatively, you can build your own docker container to run the CLI or download an already built container from Docker Hub
>>> docker build -t viz .
>>> docker run -v /home/user/images/:/app/images viz images/raw1.jpg images/page1.jpg
Successfully deobfuscated image at: images/page1.jpg
Metadata
Release files for viz-image-deobfuscate 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| viz-image-deobfuscate-0.1.4.tar.gz | 4.5 kB | Without provenance | Details for viz-image-deobfuscate-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| viz_image_deobfuscate-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for viz_image_deobfuscate-0.1.4-py3-none-any.whl |
Total release size: 9.7 kB
Release files / viz-image-deobfuscate-0.1.4.tar.gz
| Download URL | viz-image-deobfuscate-0.1.4.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f30b69aabc3df7094787b02f3c3d0cfd83e70ecf01b6d0f1505046fffc173608
|
|
BLAKE2b-256 checksum How to use checksums |
a5b7635b97b197678375094caac8f41bcf26a5d1cff8806253a15abe71d82751
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.1 Windows/10
|
Release files / viz_image_deobfuscate-0.1.4-py3-none-any.whl
| Download URL | viz_image_deobfuscate-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9271ccdde2ff122ffaea4f8cf717cca3990e4dfb5ad6ca976cc802f3b0e5d7da
|
|
BLAKE2b-256 checksum How to use checksums |
3693210a03403ee404f0a32fdf703eb41a14ffd6853bf3daf72d687525fa71bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.1 Windows/10
|
Security for viz-image-deobfuscate 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.