Skip to content

ELF/PDF/JS Polyglot #152

@febnug

Description

@febnug

Entry Info

File Info

  • Target File Type: ELF/PDF/JS
  • Target File Size: 725
  • SHA256 Hash: 0d9a623731beb61e436040a6b35d448aa50d512ea396e65fe1c7aa1aca075ea1

File Contents

Please encode the file as Base64

f0VMRgEBAQAAAAAAAAAAAAIAAwABAAAAt4IECDQAAAAAAAAAAAAAADQAIAABAAAAAAAAAAEAAAAAAAAAAIAECACABAjVAgAA1QIAAAUAAAAAEAAAJVBERi0xLjEKJf////8KMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA0IDAgUiA+PiA+PiAvTWVkaWFCb3ggWzAgMCAyMDAgMjAwXSAvQ29udGVudHMgNSAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL1R5cGUgL0ZvbnQgL1N1YnR5cGUgL1R5cGUxIC9CYXNlRm9udCAvSGVsdmV0aWNhID4+CmVuZG9iago1IDAgb2JqCjw8IC9MZW5ndGggMzMgPj4Kc3RyZWFtCkJUIC9GMSA0OCBUZiA1MCAxMDAgVGQgKDYpIFRqIEVUCmVuZHN0cmVhbQplbmRvYmoKeHJlZgowIDYKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDk5IDAwMDAwIG4gCjAwMDAwMDAxNDggMDAwMDAgbiAKMDAwMDAwMDIwNSAwMDAwMCBuIAowMDAwMDAwMzMxIDAwMDAwIG4gCjAwMDAwMDA0MDEgMDAwMDAgbiAKdHJhaWxlcgo8PCAvU2l6ZSA2IC9Sb290IDEgMCBSID4+CnN0YXJ0eHJlZgo0ODMKJSVFT0YKPHNjcmlwdD5hbGVydCgiNiIpOzwvc2NyaXB0PgpmaDYKMcCwBDHbswGJ4THSsgLNgDHAsAEx27MGzYA=

Environment Info

Target Software and Version

ELF x86

Environment Setup

Description of Target Software's Environment (Platform/OS, Setup Instructions, etc.)

Arch: x86_64
Operating System: Linux
Distro: Ubuntu 25.04
Kernel: 6.14.0-33-generic

ELF:

On Linux x64_64, change the permissions of the file to be executable and run it:

$ chmod +x febnug.bggp6
$ ./febnug.bggp6
6
$ echo $?
6

PDF:

Extract the PDF file with this command:

$ dd if=febnug.bggp6 bs=1 skip=84 count=582 of=febnug.bggp6.pdf status=none

It will do generate PDF file

JS:

Extract the JS file with this command:

$ dd if=febnug.bggp6 bs=1 skip=666 of=febnug.bggp6.html status=none

It will do generate HTML file

Additional Info

Here attach any additional information about the file, including supporting notes, screenshots, videos, console output, etc.

Here, demonstrate an HTML file opened in the browser

Here, demonstrate an PDF file opened in the browser

It should also be normal and can be opened using another PDF viewer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BGGP EntryBGGP6This issue was created during BGGP6VerifiedThis entry has been verified

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions