Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
༼ つ ◕_◕ ༽つ 🆗

レアコイル rarecoil

💭
༼ つ ◕_◕ ༽つ 🆗
View GitHub Profile
View poc.js
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
@rarecoil
rarecoil / p4d.bench.2.txt
Created Nov 12, 2020
hashcat v6.1.1 p4d.24xlarge AWS NVIDIA A100-SXM4-40GB benchmark
View p4d.bench.2.txt
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
@rarecoil
rarecoil / CF-RZ4-Windows10-Install.md
Last active Aug 2, 2022
Using the Panasonic Let's Note CF-RZ4 in America
View CF-RZ4-Windows10-Install.md

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 / greatest-common-divisor.py
Last active Apr 23, 2020
CryptoHack: Greatest common divisor
View greatest-common-divisor.py
#!/usr/bin/env python3
def gcd(a, b):
while b != 0:
t = b
b = a % b
a = t
return a
@rarecoil
rarecoil / passwords-as-keys.py
Created Apr 22, 2020
CryptoHack: Passwords as Keys
View passwords-as-keys.py
#!/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 / encoding-challenge.py
Created Apr 22, 2020
CryptoHack: Encoding challenge
View encoding-challenge.py
#!/usr/bin/env python3
from pwn import *
import json
import base64
import binascii
import codecs
import sys
def decode(t, data):
if t == 'base64':
@rarecoil
rarecoil / fahclient-rocm.txt
Created Mar 8, 2020
Folding@Home on ROCm multi-GPU failures
View fahclient-rocm.txt
00:11:34: OS Arch: AMD64
00:11:34: GPUs: 4
00:11:34: GPU 0: Bus:131 Slot:0 Func:0 AMD:5 Vega 20 [Radeon VII]
00:11:34: GPU 1: Bus:134 Slot:0 Func:0 AMD:5 Vega 20 [Radeon VII]
00:11:34: GPU 2: Bus:137 Slot:0 Func:0 AMD:5 Vega 20 [Radeon VII]
00:11:34: GPU 3: Bus:140 Slot:0 Func:0 AMD:5 Vega 20 [Radeon VII]
00:11:34: CUDA: Not detected: cuInit() returned 100
00:11:34:OpenCL Device 0: Platform:0 Device:0 Bus:-125 Slot:0 Compute:2.0 Driver:3052.0
00:11:34:OpenCL Device 1: Platform:0 Device:1 Bus:-122 Slot:0 Compute:2.0 Driver:3052.0
00:11:34:OpenCL Device 2: Platform:0 Device:2 Bus:-119 Slot:0 Compute:2.0 Driver:3052.0
@rarecoil
rarecoil / kubelet-whoami.py
Created Feb 11, 2020
Run `whoami` (arbitrary command) on every container via kubelet
View kubelet-whoami.py
#!/usr/bin/env python3
import requests
import json
import sys
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
cmd = "whoami"
@rarecoil
rarecoil / hashcat-bench.txt
Created Feb 7, 2020
AMD A6-1450 (Radeon HD 8250 / Kalindi) Hashcat Benchmark
View hashcat-bench.txt
hashcat (v5.1.0) starting in benchmark mode...
OpenCL Platform #1: Advanced Micro Devices, Inc.
================================================
* Device #1: Kalindi, 2268/3180 MB allocatable, 2MCU
Benchmark relevant options:
===========================
* --optimized-kernel-enable
* --workload-profile=3
@rarecoil
rarecoil / TriangleClassifier.ts
Last active Jan 30, 2020
A ridiculous, over-the-top classifier answer for a friend's (Java) computer science class, that robustly solves the problem in TypeScript and ignores the constraints of the professor.
View TriangleClassifier.ts
export default class TriangleClassifier {
/**
* Return a string classifying a triangle based upon its sides.
*
* @param a Side A.
* @param b Side B.
* @param c Side C.
*/
public static classify(a:number, b:number, c:number):"isosceles"|"scalene"|"equilateral" {