Skip to content

Instantly share code, notes, and snippets.

View kayshinonome's full-sized avatar
:shipit:
Smashing my own stack™

Kay Shinonome kayshinonome

:shipit:
Smashing my own stack™
  • In a mass of cables
View GitHub Profile
@kayshinonome
kayshinonome / golem-adjuster.sh
Last active February 4, 2022 09:02
Golem Network adjuster script
#!/bin/bash
PATH="$HOME/.local/bin:$PATH"
GLOBAL_MEDIAN=$(curl -s 'https://api.stats.golem.network/v1/network/pricing/median')
GLOBAL_COMPUTING_COUNT=$(curl -s 'https://api.stats.golem.network/v1/network/computing' | jq -r '(.computing_now | tonumber)')
GLOBAL_ONLINE_COUNT=$(curl -s 'https://api.stats.golem.network/v1/network/online' | jq length)
GLOBAL_COMPUTING_PERCENT="$(echo "$GLOBAL_COMPUTING_COUNT" "$GLOBAL_ONLINE_COUNT" | awk '{printf "%.2f", (1 / $2) * $1 }')"
GLOBAL_EARNINGS=$(curl -s 'https://api.stats.golem.network/v1/network/provider/average/earnings' | jq -r '(.average_earnings | tonumber)')
GLOBAL_CPUH=$(echo "$GLOBAL_MEDIAN" | jq -r '(.cpuhour | tonumber)')
@kayshinonome
kayshinonome / protonvpn
Created July 30, 2021 21:22
Proton VPN openrc script (/etc/init.d/protonvpn)
#!/sbin/openrc-run
command="/usr/bin/protonvpn"
# The special RC_SVCNAME variable contains the name of this service.
pidfile="/run/${RC_SVCNAME}.pid"
command_args="c -r"
ping_check() {
ping -c1 8.8.8.8 >/dev/null
@kayshinonome
kayshinonome / Windows_NT_4_Exploits.txt
Last active May 12, 2021 19:13
Interesting Windows NT 4 Exploits
CVE-2008-5232
CVE-1999-0496
CVE-1999-0975
CVE-2000-0073
CVE-2000-0155
CVE-2000-0331
CVE-2001-0543
CVE-2004-0118
CVE-2003-1407
CVE-2004-0571
sha256 family
090b5be26bcc4df6186124c2b47831eb96761fcf61282d63e13fa235a20c7539 Plankton
bedf51a5732d94c173bcd8ed918333954f5a78307c2a2f064b97b43278330f54 DroidKungFu
149bde78b32be3c4c25379dd6c3310ce08eaf58804067a9870cfe7b4f51e62fe Plankton
dd11c105ec8bb3c851f5955fa53eebb91b7dc46bef4d919ee4b099e825c56325 GinMaster
6832234c4eae7a57be4f68271b7eecb056c4cd8352c67d2273d676208118871d FakeDoc
f39f20ec060481bd89cfbd44654077fcd6404d87a1286685570334bd430e2f18 GinMaster
eb1bcca87ab55bd0fe0cf1ec27753fddcd35b6030633da559eee42977279b8db FakeInstaller
5010f34461e309ea1bc5539bb24fccc320576ce6d677a29604f5568c0a5e6315 Opfake
f1c8b34879b04dc94f0a13d33c1e1272bdf9141e56e19da62c1a1b27af128604 FakeInstaller