PDFextractor - The Osint Tool designed to make your life easier!
Look at the bottom for the source code to make it YOUR tool!
This tool scans PDF files for interesting artifacts often hidden inside documents:
URLs
Emails
IP addresses
Obfuscated links
Domains
It generates a console summary + saves a structured JSON report.
Useful for OSINT or malware analysis.
Spoiler (Click to View)
Spoiler (Click to View)
How it works:
Uses pdfminer.six to extract visible text.
Uses PyPDF2 to pull annotation links.
Reads raw byte data (latin1 decode) to catch hidden strings.
Regex patterns detect URLs, emails, IPs, and simple obfuscations.
Domains are normalized with tldextract.
Dont wanna mess with python? No problem!
The Solution is the .exe file you can purchase below. (If you dont have the bytes for it, either reply down here or send me a PM)
You will want to add it to PATH so lets make a little tutorial on how to do this fully in your terminal!
Why would you want it?
By adding it to your path you dont need to write the whole path down everytime when executing a command for example:
path\to\pdfexctractor -i
By adding it you can write:
pdfextractor -i
So how does that work? (Windows Tutorial)
1. First type: to generate a folder for the tool!
2. Now lets move the .exe in there with:
3. The most important part adding it to the path:
4. Restart your Powershell terminal!
5. Test it with: this should print: C:\Tools\pdfextractor.exe
6. pdfextractor --info
If you see the info page its working perfectly!
Example Usage of the .exe:
Generates sample_links.json in the same folder.
The full source code you can put your personal touch to:
Spoiler (Click to View)
This thread is the entry for the amazing contest from 7 , caring about the community and getting HQ content on this Forum again, thank you man!
Look at the bottom for the source code to make it YOUR tool!
This tool scans PDF files for interesting artifacts often hidden inside documents:
URLs
Emails
IP addresses
Obfuscated links
Domains
It generates a console summary + saves a structured JSON report.
Useful for OSINT or malware analysis.
Spoiler (Click to View)
Spoiler (Click to View)
How it works:
Uses pdfminer.six to extract visible text.
Uses PyPDF2 to pull annotation links.
Reads raw byte data (latin1 decode) to catch hidden strings.
Regex patterns detect URLs, emails, IPs, and simple obfuscations.
Domains are normalized with tldextract.
Dont wanna mess with python? No problem!
The Solution is the .exe file you can purchase below. (If you dont have the bytes for it, either reply down here or send me a PM)
You will want to add it to PATH so lets make a little tutorial on how to do this fully in your terminal!
Why would you want it?
By adding it to your path you dont need to write the whole path down everytime when executing a command for example:
path\to\pdfexctractor -i
By adding it you can write:
pdfextractor -i
So how does that work? (Windows Tutorial)
1. First type:
Code
mkdir C:\[desired folder name]2. Now lets move the .exe in there with:
Code
path\to\pdfexctractor.exe C:\[desired folder name]3. The most important part adding it to the path:
Code
$add = "C:\Tools"
$up = [Environment]::GetEnvironmentVariable('Path','User')
if (-not ($up.Split(';') -contains $add)) {
[Environment]::SetEnvironmentVariable('Path', ($up + ';' + $add), 'User')
Write-Host "C:\Tools added to PATH. Restart your terminal."
} else {
Write-Host "C:\Tools is already in PATH."
}4. Restart your Powershell terminal!
5. Test it with:
Code
where pdfextractor6. pdfextractor --info
If you see the info page its working perfectly!
Example Usage of the .exe:
Code
pdfextractor "C:\Users\You\Documents\sample.pdf" --prettyThe full source code you can put your personal touch to:
Spoiler (Click to View)
This thread is the entry for the amazing contest from 7 , caring about the community and getting HQ content on this Forum again, thank you man!




![[Image: image.png]](https://i.ibb.co/W8kPKSB/image.png)