Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
foren/23-719 (#45)
Browse files Browse the repository at this point in the history
* pdf foren

* ah yes deploying a pdf

* @Blckbrry-Pi
  • Loading branch information
glacialcascade authored May 28, 2024
1 parent e929ed5 commit cdb5880
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
Binary file added 23-719/23-719_19m2.pdf
Binary file not shown.
16 changes: 16 additions & 0 deletions 23-719/chall.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 23-719
categories:
- foren
value: 50
flag: bcactf{rEAl_WOrLd_appLIc4t1ons_Of_cTf_ad04cc78601d5da8}
description: |-
that's a nice unanimous supreme court decision you've made public,
sure would be a shame if someone didn't properly clean up remnants
of a prior version of the document before publishing it
hints:
- this is a real thing that happened that had real articles written about it
files:
- src: ./23-719_19m2.pdf
authors:
- Marvin
visible: true
17 changes: 17 additions & 0 deletions 23-719/solve.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Refer to the following articles (as clued by the description/contents/hint):
https://slate.com/news-and-politics/2024/03/supreme-court-metadata-sotomayor-trump-dissent.html
https://abovethelaw.com/2024/03/supreme-court-accidentally-forgets-to-delete-basic-metadata-in-trump-ballot-ruling/

The hidden text that, in the original PDF, said
"SOTOMAYOR, J., concurring in part and dissenting in part",
has been edited to read the flag,
"bcactf{rEAl_WOrLd_appLIc4t1ons_Of_cTf_ad04cc78601d5da8}".

Several methods can be used to extract this text, such as:
1. simply copy/pasting, as in the above articles
2. directly using Ctrl+F in MacOS Preview
3. using Inspect Element in Firefox's PDF viewer
4. using a command-line utility like pdftotext.

P.S. Creating this challenge was a bit harder than I expected.
Many PDF editors could not edit (or sometimes even access) the text.

0 comments on commit cdb5880

Please sign in to comment.