Fuck SumatraPDF DRM

Problem: When using SumatraPDF you are forbidden to print or highlight-and-copy out text (to paste elsewhere) for some restricted/encrypted PDFs.

Here is a simple example PDF I found where you can see the problem:
novapdf.com/uploads/novapdf_en/media_items/pdf-example-encryption.original.pdf

Solution: Liberate your Sumatra to ignore these bullshit restrictions:

1. Check if you are a retard. If so, give up now.
2. Install latest SumatraPDF v3.1.2, 32-bit or 64-bit
3. Go to the installation folder
4. Check original SHA1 hash to make sure you got the right EXE
5. Copy the EXE file to make a backup
6. Apply the appropriate (32-bit or 64-bit) binary patch below
using a hex editor (it's short enough to do it by hand)
7. Check modified SHA1 hash to make sure you didnt fuck it up
8. Enjoy your newfound unshackled freedom to copy-paste and print


** General cracking thread **

---------------------------------------------------------------------------

SumatraPDF v3.1.2 32-bit

File: SumatraPDF.exe-orig
SHA1: 0dfca76410527bf7fd79bc288cc3023ac2e8e73e

File: SumatraPDF.exe-modded
SHA1: dfc4251deced1eaa1b13932ef23336e10e27b98c

Comparing files SumatraPDF.exe-orig and SumatraPDF.exe-modded
0003CE00: 0F B0
0003CE01: 95 01
0003CE02: C0 90
0003CE20: 0F B0
0003CE21: 95 01
0003CE22: C0 90

---------------------------------------------------------------------------

SumatraPDF v3.1.2 64-bit

File: SumatraPDF.exe-orig
SHA1: ac2ee15c589fcf7a0a846eeb1d2356be2495874f

File: SumatraPDF.exe-modded
SHA1: 4bed081d074d1d3dc7a451d5acbda2e500727796

Comparing files SumatraPDF.exe-orig and SumatraPDF.exe-modded
00046B85: 0F B0
00046B86: 95 01
00046B87: C0 90
00046BA5: 0F B0
00046BA6: 95 01
00046BA7: C0 90

Attached: SumatraPDF.png (535x535, 123K)

Other urls found in this thread:

github.com/sumatrapdfreader/sumatrapdf/commit/b7ec85165f4783d613a8c517c566062af67d8d38
twitter.com/NSFWRedditGif

>seemingly informative, useful post on Jow Forums
am i gonna get a virus?

Attached: 1439759046118.png (545x530, 234K)

>binary patch for an open source tool
yeah It seems that way

Why does it do this?

binary patch?
isn't that shit opensource?

Based thread, OP

I don't run windows and cant test out your patch, but hat file you linked appears to be copy-able with evince on linux

HAHAHAHA changing 6 bytes in a file gives you a virus? HAHAHAHA

open it in firefox and print
or install linux

ok found it, compile it with DISABLE_DOCUMENT_RESTRICTIONS defined

Yes it's open source and you could download the source, figure out and find the dependencies, hunt down where in the source to patch it, and rebuild. Probably take you 3 tries to build at least. But most people dont even have a build environment set up on Windows. Why bother with all that when you can just change a few key bytes in an EXE that you already have installed.

If you know Intel bytecode you can immediately see that this changes a couple setne instructions to mov al, 01 (B0 01) and a noop (90).