Skip to content

Instantly share code, notes, and snippets.

View teekennedy's full-sized avatar

Terrance Kennedy teekennedy

  • Denver, CO
  • 08:51 (UTC -07:00)
View GitHub Profile
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1
owGbwMvMwMQ47Q3D2TZe5lzG0weeJTEES99+Wa2UlJ9SqWRVrZSdCqbSMvPSU4sK
ijLzSpSslIyMzRKNzcyTUs3SDI1TDU2TksxNjNMMLCzNUpMNDJJTLMwMUgyMzVKU
dJQy8otBOoDGJCUWp+pl5gPFgJz4zBSgqKWZq7OBgbMLUL0LUL0LUK4UIpGUbJps
nJpklGhpYm5obmpmapZkYG5pYZ6UkpgGtAKksDi1KC8xNxWoOrmyIKO0WKlWRwko
VpaZnApyMVQuPbMkozQJl/qSygKQQHlqUjxUa3xSZl4K0LNAHWWpRcWZ+XlKVoZA
lcklmSC9hsaWJsbGJmaW5jpKqRUFmUWp8ZkgFabmZhYGQKCjVFCUWgY00szc0sTC
0CDJ0MzUIsnAyCjRONnCzCzF0tgU6CMLY2OLFNOUlJRUg2RTc6OkVMs0YzNjA1ML
@teekennedy
teekennedy / reaver-wiiu.diff
Last active September 26, 2015 09:36
Reaver Patch for Wii U
diff --git a/src/wps/wps_common.c b/src/wps/wps_common.c
index 6ef14db..d4880ee 100755
--- a/src/wps/wps_common.c
+++ b/src/wps/wps_common.c
@@ -66,6 +66,7 @@ int wps_derive_keys(struct wps_data *wps)
{
struct wpabuf *pubkey, *dh_shared;
u8 dhkey[SHA256_MAC_LEN], kdk[SHA256_MAC_LEN];
+ u8 kdk_rot[sizeof(kdk)];
const u8 *addr[3];

Keybase proof

I hereby claim:

  • I am cyphus on github.
  • I am cyphus (https://keybase.io/cyphus) on keybase.
  • I have a public key whose fingerprint is 591E E0FA F022 EFE9 DC8C 7A19 773F 6857 B2BC 5AEE

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am teekennedy on github.
  • I am tkennedy (https://keybase.io/tkennedy) on keybase.
  • I have a public key ASAKau2EdfiZKJyLBoPshOPN4dv-gGU-BR5l-MmgB_LbuAo

To claim this, I am signing this object:

@teekennedy
teekennedy / 01steam_deck_hotfix.rpy
Last active November 30, 2022 07:47
Hotfix for freezing RenPy games that run on the Steam Deck
# This script hot patches RenPy's Steam integration for users who encounter game freezes on the Steam Deck.
# It is meant as a temporary fix until the underlying cause is addressed.
# See https://github.com/renpy/renpy/issues/3978 for details and updates.
# To use, download this file and place it under the games/ folder of your local RenPy installation.
init python in steam_deck_hotfix:
from datetime import datetime
import steamapi