Lucene search
+L

PDF Polyglot Payload Generator

🗓️ 10 Jul 2026 11:31:42Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 1 Views

PDF Polyglot Payload Generator creates polyglots for upload-filter bypass testing.

Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from kittysploit import *
from lib.pdf.mixins import PdfPhonehomeMixin, format_test_ids
from lib.pdf.generators.polyglot import write_eicar_polyglot, write_imagemagick_svg_polyglot


class Module(Auxiliary, PdfPhonehomeMixin):
    __info__ = {
        "name": "PDF Polyglot Payload Generator",
        "description": (
            "Generate non-standard PDF polyglots for upload-filter bypass testing: "
            "EICAR antivirus test string embedded in PDF, and ImageMagick SVG/MSL "
            "polyglot for server-side image processing pipelines."
        ),
        "author": ["KittySploit Team"],
        "references": [
            "https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.html",
        ],
        "tags": ["pdf", "polyglot", "eicar", "imagemagick", "upload-scanner"],
    }

    PDF_GENERATORS = (
        write_eicar_polyglot,
        write_imagemagick_svg_polyglot,
    )

    MODULE_TITLE = "PDF polyglot payload generator"

    def run(self):
        print_info(f"    Test ids: {format_test_ids(self.PDF_GENERATORS)}")
        return self.run_pdf_phonehome()

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Jul 2026 11:31Current
5.6Medium risk
Vulners AI Score5.6
1