File metadata refers to the information about a file e.g. author name, size, tags etc. This information can be very helpful for an attacker or pentester, especially when the file is corrupted or protected. The challenges in this section deal with extracting PDF metadata and analyzing the PE files.
What will you learn?
Extracting PDF metadata using pypdf2 Python library
Analyzing PE files using pefile Python library
References:
Pypdf2 documentation (https://pythonhosted.org/PyPDF2/)
PEfile library (https://github.com/erocarrera/pefile)
Labs Covered:
In this lab, you will learn to extract PDF metadata using the pypdf2 Python library.
In this lab, you will learn to analyze PE files using the pefile Python library.