2021-01-01から1年間の記事一覧

PCスペック

備忘録。 マザーボード ASUS PRIME Z390-A (Intel Z390 搭載 LGA1151 対応) ¥ 21,999 CPU Intel Core i5 9600 ¥ 26,921 GPU ASUS TURBO-RTX2070S-8G-EVO (ストレート排気モデル) ¥ 68,147 メモリ Crucial by Micron W4U2666CM-16G (PC4-21300(DDR4-2666) …

WSL2でCUDAを使う

備忘録参考: qiita.comやったこと TPMを有効化 (BIOSで、Discrete TPM -> Firmware TPMに変更) Windows 11 (Insider Preview)にアップグレード 最新のドライバインストール Ubuntu (20.04)にcuda-toolkit-11-4 のインストール この時点で、こんな感じのエラ…

picoCTF 2021 Crypto (5) Mini RSA

Mini RSA | 70 points Tags: AUTHOR: SARADescription What happens if you have a small exponent? There is a twist though, we padded the plaintext so that (M ** e) is just barely larger than N. Let's decrypt this: ciphertext # cat ciphertext N:…

picoCTF 2021 General Skills

ctf

Obedient Cat Description This file has a flag in plain sight (aka "in-the-clear"). Download flag. # cat flag picoCTF{s4n1ty_v3r1f13d_f28ac910}"sanity verified" Python Wrangling Description Python scripts are invoked kind of like programs i…

picoCTF 2021 Crypto (4) New Caesar

New Caesar | 60 points Tags: AUTHOR: MADSTACKSDescription We found a brand new type of encryption, can you break the secret code? (Wrap with picoCTF{}) lkmjkemjmkiekeijiiigljlhilihliikiliginliljimiklligljiflhiniiiniiihlhilimlhijil new_caes…

picoCTF 2021 Crypto (3) Easy Peasy

ctf

Easy Peasy | 40 points Tags: AUTHOR: MADSTACKSDescription A one-time pad is unbreakable, but can you manage to recover the flag? (Wrap with picoCTF{}) nc mercury.picoctf.net 58913 otp.pyotp.py #!/usr/bin/python3 -u import os.path KEY_FILE …

picoCTF 2021 Crypto (2) Mind your Ps and Qs

ctf

Mind your Ps and Qs | 20 points Tags: AUTHOR: SARA Description In RSA, a small e value can be problematic, but what about N? Can you decrypt this? values# cat values Decrypt my super sick RSA: c: 8430448976638478414763197116397728613903293…

picoCTF 2021 Crypto (1)

暇つぶしにpicoCTF 2021を解いていく。Mod 26 | 10 points Tags: AUTHOR: PANDUDescription Cryptography can be easy, do you know what ROT13 is? cvpbPGS{arkg_gvzr_V'yy_gel_2_ebhaqf_bs_ebg13_nSkgmDJE} # cat 01.txt cvpbPGS{arkg_gvzr_V'yy_gel_2_ebh…