Skip to content

Instantly share code, notes, and snippets.

View rarecoil's full-sized avatar
💭
<|endoftext|>

レアコイル rarecoil

💭
<|endoftext|>
View GitHub Profile
@rarecoil
rarecoil / passwords-as-keys.py
Created April 22, 2020 06:23
CryptoHack: Passwords as Keys
#!/usr/bin/env python3
from Crypto.Cipher import AES
import requests
import hashlib
import sys
import binascii
result = requests.get('https://aes.cryptohack.org/passwords_as_keys/encrypt_flag')
@rarecoil
rarecoil / greatest-common-divisor.py
Last active April 23, 2020 04:45
CryptoHack: Greatest common divisor
#!/usr/bin/env python3
def gcd(a, b):
while b != 0:
t = b
b = a % b
a = t
return a
@rarecoil
rarecoil / CF-RZ4-Windows10-Install.md
Last active May 15, 2025 14:49
Using the Panasonic Let's Note CF-RZ4 in America

I own a Japanese-market Panasonic Let's Note RZ series as a go-everywhere laptop running some Windows utilities, WSL2, and a terminal to access more powerful hardware in the cloud. I vastly prefer its clamshell layout to current-gen competitors such as the Microsoft Surface Go - my RZ4 is also still relatively capable compared to the Surface Go 2 hardware which is using a newer but similar Core M processor. The Intel Core M 5Y71 is the same processor as used in the original 12" MacBook and is still plenty fast for use as a netbook-type device.

Unfortunately, this computer is basically unknown to the American market. The keyboard is nowhere near full size, all of the manuals and websites are in Japanese, and most western reviews I can find of the Let's Note RZ look at the laptop's design as dated, its price tag exorbitant and its accessibility overall poor. I believe that they are completely missing the point of this 10 inch d

@rarecoil
rarecoil / p4d.bench.2.txt
Created November 12, 2020 05:38
hashcat v6.1.1 p4d.24xlarge AWS NVIDIA A100-SXM4-40GB benchmark
hashcat (v6.1.1) starting in benchmark mode...
CUDA API (CUDA 11.1)
====================
* Device #1: A100-SXM4-40GB, 40115/40536 MB, 108MCU
* Device #2: A100-SXM4-40GB, 40115/40536 MB, 108MCU
* Device #3: A100-SXM4-40GB, 40115/40536 MB, 108MCU
* Device #4: A100-SXM4-40GB, 40115/40536 MB, 108MCU
* Device #5: A100-SXM4-40GB, 40115/40536 MB, 108MCU
* Device #6: A100-SXM4-40GB, 40115/40536 MB, 108MCU
const bitcoinEN = ["abandon","ability","able","about","above","absent","absorb","abstract","absurd","abuse","access","accident","account","accuse","achieve","acid","acoustic","acquire","across","act","action","actor","actress","actual","adapt","add","addict","address","adjust","admit","adult","advance","advice","aerobic","affair","afford","afraid","again","age","agent","agree","ahead","aim","air","airport","aisle","alarm","album","alcohol","alert","alien","all","alley","allow","almost","alone","alpha","already","also","alter","always","amateur","amazing","among","amount","amused","analyst","anchor","ancient","anger","angle","angry","animal","ankle","announce","annual","another","answer","antenna","antique","anxiety","any","apart","apology","appear","apple","approve","april","arch","arctic","area","arena","argue","arm","armed","armor","army","around","arrange","arrest","arrive","arrow","art","artefact","artist","artwork","ask","aspect","assault","asset","assist","assume","asthma","athlete","atom","attack","att