Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PDF Extractor Your PDF Osint tool

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:
Code
mkdir C:\[desired folder name]
to generate a folder for the tool!

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 pdfextractor
this should print: C:\Tools\pdfextractor.exe

6. pdfextractor --info
If you see the info page its working perfectly!


Example Usage of the .exe:

Code
pdfextractor "C:\Users\You\Documents\sample.pdf" --pretty
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!


Attached Files
.txt   pdfextractor.txt (Cost: 100 βytes / Size: 73 bytes / Purchases: 1)
The risk of not taking risk is riskier than comfort.

Never Deal Off-Site!
I'm glad you joined to this great contest by 7 .I can't wait to see the further evolution of this tool from you.Nice share buddy!
buy me a coffee eth:0x88621A52aa5Eb3b6503628369687111810186c58
Yes HerrWinston Yes

This is good, I hope to see more of your work in the future.
thanks bro
great! Thanks
Spoiler (Click to View)


Possibly Related Threads...
Thread / Author Replies Views Last Post
[The Brotherhood] by Pr0m3th3us21 hours ago 0 21 21 hours ago
Last Post: Pr0m3th3us
by HeySister25 hours ago 0 38 25 hours ago
Last Post: HeySister
by Chinggist47 hours ago 37 1,619 47 hours ago
Last Post: cable