AlpacaHack Logo

Tag: Polyglot

Sign InSign Up

Polyglot

Related:
#Python

A polyglot is a single file or input that is valid as multiple file formats or programming languages.

In CTFs, for example, there may be challenges where you create a script that can be executed as both Python and JavaScript. (automatically translated from Japanese)

minaminao
·Updated Apr 24, 2026
Polyglot Challenges
pyjs
minaminao

minaminao

Misc
86 solves
Image Python
tchen

tchen

Misc
81 solves

Image Python

Daily AlpacaHackTopic: JailReleased: Apr 24, 2026

81 solves
Misc

by

tchen

tchen

Running an image as Python? What a dumb idea...

Beginner Hint
  • The file command is used to check whether the provided bytes look like an image.
  • Search for how the file command identifies file types, and look for the rules it uses to recognize image formats.
image-python.tar.gz
descriptionsolveswriteups