emptygif
Idioma: Español

Todos los lenguajes y frameworks

OpenSSL Shell

Un fragmento en Shell para OpenSSL que responde a las peticiones a /pixel.gif con el GIF vacío, decodificado una sola vez al arrancar.

OpenSSL Shell

Archivo
pixel.sh
# -A: the input is a single line (no 64-column wrapping required)
echo 'R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==' | openssl base64 -d -A > pixel.gif

Ejecutamos este fragmento y comparamos los bytes que devolvió.

Sitio oficial: OpenSSL

Más en Shell