2021.06.04Blog on CTFs

Challenge archive: zh3r0 CTF V2 2021 - import numpy as MT

zh3r0 CTF 2021 - Cryptography.

Section
Blog on CTFs
Event began

By deuterium.

Original description

Python is so slow! Lets use nUmPy tO MAkE iT FaSTer. Only if there was a module for crypto in it :(

Read this challenge as plain text or JSON.

Files

This is the original two-layer encryption challenge. The Wiki Mersenne practice variant uses one layer and has a different flag.

This fixed output was generated for the post with the unchanged original program and event flag. It is not a recording from the competition.

Try the local practice variant. Its flag check is separate from this event challenge.

Download

Sh
mkdir -p zh3r0-2021-import-numpy-as-mt
cd zh3r0-2021-import-numpy-as-mt
curl --fail --location --output challenge.txt \
  "https://deut-erium.github.io/challenges/zh3r0-2021/import-numpy-as-mt/challenge.txt"
curl --fail --location --output challenge.json \
  "https://deut-erium.github.io/challenges/zh3r0-2021/import-numpy-as-mt/challenge.json"
curl --fail --location --output challenge.py \
  "https://deut-erium.github.io/assets/challenges/zh3r0-2021-import-numpy-as-mt/challenge.py"
curl --fail --location --output output.txt \
  "https://deut-erium.github.io/assets/challenges/zh3r0-2021-import-numpy-as-mt/output.txt"

Check your flag

The check runs locally in your browser.
Sources and solutions (spoilers)

All challenges · CTF tutorials