๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๋””์ง€ํ„ธํฌ๋ Œ์‹/๋ถ„์„ ์—ฐ์Šต

PDF ๋ฐ”์ด๋Ÿฌ์Šค / ์•…์„ฑ์ฝ”๋“œ ํ™•์ธ ๋ฐฉ๋ฒ•

by Ji-Hoon 2022. 12. 24.

PDF ๋‚ด ์•…์„ฑ์ฝ”๋“œ / URL์„ ํŽธ๋ฆฌํ•˜๊ฒŒ ํ•œ๋ˆˆ์— ๋ณผ ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์–ด์„œ ์†Œ๊ฐœํ•ด ๋“œ๋ ค ๋ณด๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. 

 

์šฐ์„  Python์„ ํ™œ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์œผ๋กœ ๋ถ„์„ํ•˜๋Š” PC์— Python์ด ์„ค์น˜๋˜์–ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค

 

1. Python ์„ค์น˜ํ•˜๊ธฐ

 

Download Python

The official home of the Python Programming Language

www.python.org

 

๊ทธ๋Ÿผ ์ด์ œ ๋ถ„์„์— ํ™œ์šฉํ•  Pdfid.py ํŒŒ์ผ์„ ๋‹ค์šด๋ฐ›์œผ๋ฉด ๋ฉ๋‹ˆ๋‹ค

2. Pdfid.py ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ

 

PDF Tools

Here is a set of free YouTube videos showing how to use my tools: Malicious PDF Analysis Workshop. pdf-parser.py This tool will parse a PDF document to identify the fundamental elements used in the…

blog.didierstevens.com

 

3. cmd ๋ฅผ ์‹คํ–‰ํ•ด์„œ pdfid ํŒŒ์ผ์ด ์žˆ๋Š” ๊ฒฝ๋กœ๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.

ํ…Œ์ŠคํŠธํ•  PDF ํŒŒ์ผ์€ test12.pdf ํŒŒ์ผ์ž…๋‹ˆ๋‹ค. 

 

4. cmd : pdfid.py [๋ถ„์„ํ•  ํŒŒ์ผ ์ด๋ฆ„] ์œผ๋กœ ๋ช…๋ น์–ด๋ฅผ ์น˜๋ฉด PDF์— ํฌํ•จ๋œ ์ •๋ณด๋ฅผ ํ™•์ธ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

์‹ค์ œ ๋ถ„์„ํ•œ PDF ๋‚ด ์ •๋ณด

 

pdfid๋ฅผ ํ™œ์šฉํ•˜๋ฉด PDF ๋‚ด ์–ด๋–ค ์ •๋ณด๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ๋Š”์ง€ ์‰ฝ๊ฒŒ ๋ถ„์„ ๊ฐ€๋Šฅ ํ•  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค! :)

๋Œ“๊ธ€