This repository contains a collection of personal scripts, tools, and configurations aimed at streamlining the Bug Bounty hunting process. It includes automation for reconnaissance, data extraction, and workflow optimization.
.
├── violentmonkey_scripts/
│ └── google_pdf_dork_scraper.js
├── pdfTextExtractor.sh
└── README.md
One of the core components of this toolkit is the collection of User Scripts designed to run directly in the browser. These scripts help automate client-side tasks during manual reconnaissance.
To use these scripts, you need a User Script manager. Violentmonkey is recommended due to its open-source nature and compatibility.
Browser Support:
- Firefox / Tor Browser: Download from Mozilla Add-ons
- Chrome / Brave / Cromite: Download from Chrome Web Store
There are two ways to install the scripts from this repository:
Option A: Direct Install (Recommended)
- Navigate to the
violentmonkey_scriptsfolder in this repository. - Click on the
.jsfile you want to install (e.g.,google_pdf_dork_scraper.js). - Click the Raw button on the top right of the file viewer.
- Violentmonkey will automatically detect the script and open an installation tab.
- Click Confirm installation.
Option B: Manual Copy-Paste
- Open the script file in GitHub and copy the raw code.
- Click the Violentmonkey icon in your browser toolbar.
- Select Create a new script.
- Delete the default template content.
- Paste the code from this repository.
- Save and close (
Ctrl + S).
Automates the extraction of PDF links from Google Search results when performing dorking (e.g., site:target.com ext:pdf).
Features:
- Auto-Detection: Triggers automatically when
ext:pdforfiletype:pdfis present in the search query. - Pagination: Scrapes multiple pages of results automatically.
- Bulk Download: Generates a
curlcommand to download all found files preserving the User-Agent to avoid 403 errors.
pdfTextExtractor.sh is a powerful CLI tool to process a directory full of PDFs. It extracts raw text and uses OCR (Optical Character Recognition) to find hidden text inside images embedded in the PDFs.
Usage:
- Place the
pdfTextExtractor.shscript in the folder containing your.pdffiles. - Give it execution permissions:
chmod +x pdfTextExtractor.sh. - Run it:
./pdfTextExtractor.sh.
Features:
- Deep Scan: Extracts text with layout preservation.
- OCR Integration: Automatically extracts images from PDFs and runs Tesseract (English/Spanish) on them to find text that
pdftotextmight miss. - Progress Tracking: Real-time percentage, file count, and ETA.
- Report Generation: Consolidates everything into a single
report.txtfor easy grepping.
Once you have your report.txt, you can load it here for analisis
To extract all metadata from PDFs in the current directory and save it for analysis:
exiftool -a -u -g1 -extension pdf ./ > resume_pdfs.txtThis repository is for educational purposes and authorized security research (Bug Bounty programs) only. The author is not responsible for any misuse of these tools. Always ensure you have permission to scan or scrape the target infrastructure.