From e964885e54b98a989ca96298355276462f0ce56c Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sat, 7 Jul 2018 18:37:03 +0200 Subject: [PATCH] Improve end too --- _posts/2018-07-01-ndh16.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_posts/2018-07-01-ndh16.md b/_posts/2018-07-01-ndh16.md index 0e48f5c..f0b578f 100644 --- a/_posts/2018-07-01-ndh16.md +++ b/_posts/2018-07-01-ndh16.md @@ -180,14 +180,16 @@ J'essaye de décoder l'ASCII du buffer comme de la base64 mais rien. Un peu d'ai import base64 d2 = base64.b32decode(d1) -# On a en ASCII : bmRoMTZfe3tkNzgxN2JhM2YyY2Y2MWY5N2U3MzAyM2JmODE1ZWJmOWFlMmFjMjZkZDMwYmM4MDRhNmI1NDY0ZGVlNDk4OWNjZTQzMWYxNjIxZWQ5ODJmZDQxZmE4MDAwNmM4OWRjYzE3ZTUzYTQwODZhZmJjYWIzY2JjOGQ3NzM3MTJlNTg2M319 +print(d2) +# bmRoMTZfe3tkNzgxN2JhM2YyY2Y2MWY5N2U3MzAyM2JmODE1ZWJmOWFlMmFjMjZkZDMwYmM4MDRhNmI1NDY0ZGVlNDk4OWNjZTQzMWYxNjIxZWQ5ODJmZDQxZmE4MDAwNmM4OWRjYzE3ZTUzYTQwODZhZmJjYWIzY2JjOGQ3NzM3MTJlNTg2M319 ``` On avance, cette fois-ci ça ressemble à de la base64 : ```python d3 = base64.b64decode(d2) -# On a en ASCII : ndh16_{% raw %}{{d7817ba3f2cf61f97e73023bf815ebf9ae2ac26dd30bc804a6b5464dee4989cce431f1621ed982fd41fa80006c89dcc17e53a4086afbcab3cbc8d773712e5863}}{% endraw %} +print(d3) +# ndh16_{% raw %}{{d7817ba3f2cf61f97e73023bf815ebf9ae2ac26dd30bc804a6b5464dee4989cce431f1621ed982fd41fa80006c89dcc17e53a4086afbcab3cbc8d773712e5863}}{% endraw %} ``` Le drapeau était donc :