This software should be necessary. The only reason it exists is to bulk check if redactions were made improperly. This doesn't do anything wizardy or voodoo magic. It simply extracts the text from the document and compares the text to the PDF. You can do all of this manually by viewing a PDF, copying the text, and pasting it into a text editor of your choice.
This assumes the file name is lowercase. Since gists alphabetize based on ASCII characters, uppercase come first and in order to avoid this gist being named "LICENSE.md" captilization of the file name was required.
# Scan current directory (where script is saved)
python check_redaction.py
# Scan specific directory
python check_redaction.py --directory /path/to/pdfs
# Scan recursively
python check_redaction.py --recursive
# Scan specific directory recursively
python check_redaction.py --directory /path/to/pdfs --recursivemacOS:
# Install Homebrew if not already installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Python
brew install pythonLinux (Ubuntu/Debian):
sudo apt update
sudo apt install python3 python3-pipWindows: Download and install from python.org
- Check "Add Python to PATH" during installation
python3 --version
# Should show: Python 3.x.xpip3 install PyMuPDFSave the script as check_redaction.py in your desired location.
chmod +x check_redaction.pyFrom script directory:
python3 check_redaction.pyScan specific directory:
python3 check_redaction.py --directory ~/Documents/epstein/dev-test/VOL00008/IMAGES/0001Scan recursively:
python3 check_redaction.py --directory ~/Documents/epstein/dev-test --recursiveGiven the following pdf that wasn't properly redacted you can expect a text file with the following details:
- READACTED WORDS: these are all of the words that were found in the file, these will appear in the order they were found and are intended to just be the raw output to assist with quickly scanning a file for the unredacted redactions.
- FULL TEXT: this is the full text in it's unredacted form.
*-unredacted.txt
REDACTED WORDS: ['JURY TRIAL DEMANDED', 'SECOND AMENDED COMPLAINT', 'Epstein’s real property (as laid out below); and of Financial Strategy Group, Ltd.; Financial', 'Epstein’s real property (as laid out below); and of Financial Strategy Group, Ltd.; Financial', 'Trust, Inc.; FT Real Estate Inc.; Gratitude America, Inc.; Hyperion Air, Inc.; J. Epstein Virgin', 'Trust, Inc.; FT Real Estate Inc.; Gratitude America, Inc.; Hyperion Air, Inc.; J. Epstein Virgin', '-', '-', 'As of October 23, 2007, Indyke was listed as President of the Foundation. He', 'also was a signatory on the Foundation’s checking accounts.', 'Between September 2015 and June 2019, Indyke signed Foundation account', 'checks for over $400,000 made payable to young female models and actresses, including a', 'former Russian model who received over $380,000 through monthly payments of $8,333 made', '■', 'In November 2017, Indyke signed a Foundation check made payable to the', 'immigration lawyer in New York who was involved in one or more forced marriages arranged', 'among Epstein’s victims to secure a victim’s immigration status. The check’s memo line', 'references the former Russian model’s last name.', 'JSC Interiors, LLC is a New York Limited Liability Company, the Articles of', 'Organization of which were filed in November 2014. The Articles list JSC, who was forced and', 'coerced to have sex with Epstein, as the company’s sole owner. JSC was manipulated,', 'coerced to have sex with Epstein, as the company’s sole owner. JSC was manipulated,', 'According to JSC’s operating agreement, Kahn was to be the initial Manager of', 'for JSC’s bank accounts.', '1111', '1111', '•', '•', '•', 'One of JSC’s bank accounts was funded entirely with money transferred from', 'JSC’s payroll was paid to two persons, one of whom was the listed sole owner.', 'Kahn gave conflicting reports to JSC’s bank about the second person on the company’s payroll', 'and the reasons for its payments to her. Once, he described her as an interior designer, which', 'would justify the payments in light of JSC’s purported line of business, but which appears to', 'have been false. The other time, Kahn described this payroll recipient as a dentist, which would', 'not justify JSC Interiors’ payments to her, but which appears to be true.', '1111', '1111', '1111', '1111', '-', '-', 'different bank totaling almost $50,000 between November 2016 and July 2019 (just before', 'Epstein’s arrest) to women with Eastern European surnames, including one known to have', 'recruited young women and girls for Epstein.', '-', '-', 'which Indyke had signatory authority, someone acting on Epstein’s behalf made a total of 21', 'which Indyke had signatory authority, someone acting on Epstein’s behalf made a total of 21', 'separate withdrawals each in the amount of $1,000 on every but one business day from April 9,', '2019 to May 8, 2019.', 'Payments from this account totaling almost $60,000 were transferred by wire to', 'young women mostly at foreign beneficiary banks in February and March 2016.', 'From 2011 to 2019, Epstein and Epstein-owned entities paid over $16 million', 'net to Defendant/Co-Executor Indyke, and over $10 million net to Defendant/Co-Executor', 'net to Defendant/Co-Executor Indyke, and over $10 million net to Defendant/Co-Executor', 'Kahn. This includes loans that are still outstanding to Indyke- and Kahn-related entities. Based', 'on records obtained so far, tax forms provided by Epstein entities did not report nearly the full', 'compensation to Indyke and Kahn.', '-', '■', 'F. The Epstein Enterprise Used Corporate Entities to Defraud the Government', 'and Fund its Criminal Activities', '1. Defendant Southern Trust Company, Inc.', 'above whom Kahn represented to be, alternatively, an interior designer and a dentist, was', 'paid employee of Southern Trust Company, which did not actually or even pretend to perform', 'either interior design or dentistry services, in 2019.', 'year ended December 31, 2018, despite it paying $106,394.60 in Santa Fe property taxes on', 'November 6, 2018.', '$29,736 and expenses of $150, despite it paying $55,770.41 and $113,679.56 in Santa Fe', 'property taxes during 2017.', 'ended December 31, 2018, despite it paying $336,471.87 in New York City property taxes', 'during 2018.', '-', '$18,281 and expenses of $150, despite it paying $327,497.48 and $6,487.04 in New York City', 'property taxes during 2017.', 'for the year ended December 31, 2018, despite it paying $196,673.56 in Palm Beach property', 'taxes on November 6, 2018.', '$37,129 and expenses of $150, despite it paying $191,941.52 in Palm Beach property taxes on', 'October 31, 2017.', 'Defendants also attempted to conceal their criminal sex trafficking and abuse', 'conduct by paying large sums of money to participant-witnesses, including by paying for their', 'attorneys’ fees and case costs in litigation related to this conduct.', 'Epstein also threatened harm to victims and helped release damaging stories', 'about them to damage their credibility when they tried to go public with their stories of being', 'trafficked and sexually abused.', 'Epstein also instructed one or more Epstein Enterprise participant-witnesses to', 'destroy evidence relevant to ongoing court proceedings involving Defendants’ criminal sex', 'trafficking and abuse conduct.', 'Dated: February 10, 2021', '/s/ Carol Thomas-Jacobs']
FULL TEXT:
Government Exhibit 1
I~ THE SUPERIOR COURT
OF THE VIRGIN ISLANDS
FILED
March 17, 2022 06:09 eM
ST-2021-RV-OOOOS
TAMARA CHARLES
CLERK OF THE COURT
IN THE SUPERIOR COURT OF THE VIRGIN ISLANDS
DIVISION OF ST. THOMAS AND ST. JOHN
********************************
GOVERNMENT OF THE UNITED STATES
VIRGIN ISLANDS,
Case No.: ST-20-CV-14
PLAINTIFF,
...wayyyyyyyyyy too much text to be practical in a readme file you should know the gist though, it's the text from the
pdf but in situations where the text behind the blackbox still exists it will be here so you can read the entirety of
the file.