Skip to content

Instantly share code, notes, and snippets.

@LiEnby
LiEnby / MSEXCEL-SHEETPROTECTION.md
Last active February 23, 2024 16:39
Reverse Engineering; Microsoft Excel Sheet Protection

Microsoft Excel offers a feature called "Sheet Protection" it essentially allows you to lock down an excel document so you cannot edit certain sheets and aspects of it attempting to edit protected sheets will return an error message: image

and trying to unprotect it under the review tab, does ask for a password.

image

i figured; "This is MS Excel, surely someone has found a way to disable this?"

import requests
import base64
from lxml import etree
import json
import hashlib
from io import StringIO
# specify user id
USER_ID = "w5YcMrssXv"
@LiEnby
LiEnby / calc-checksum.py
Created February 18, 2023 08:07
Worms 4 Mayhem (PS2) Checksum Calculator
#!/usr/bin/python3
# Worms 4: Mayhem (PS2) Checksum Calculator.
# Created by Li 2/18/2023.
import struct
# Read save file
save = open("BESLES-53096W4MA", "rb").read()
# Set count to 0
@LiEnby
LiEnby / trans.py
Created September 10, 2022 04:11
Mass CXML Decompile / Recompile
from PIL import Image, ImageEnhance, ImageDraw
from lxml import etree
import os
import shutil
import struct
IS_INDICATOR = False
def create_stripe(img: Image.Image, bbox: tuple[int,int,int,int], height: int, color: tuple[int,int,int], index: int):
@LiEnby
LiEnby / ImAnOrphan.bat
Last active September 5, 2022 10:20
Disable Parental Controls on Windows 10/11 Batch Script
@echo off
set "params=%*"
cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% 1>nul 2>nul || ( echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && exit /B )
echo This script completley removes Parental Controls from Windows 10 / 11
echo Press any key to disable parental controls
pause>nul
echo Blocking parental controls server ...
@LiEnby
LiEnby / ent_validate.py
Last active August 29, 2022 12:34
Validate minecraft entitlements
#!/usr/bin/python3
# --=== Created by Li ===--
# Minecraft Entitlement Verifier
# Requires decrypted .ent (pre-1.19) or from PlayFab Api
# (i was too lazy to implement ent decryption)
#
# This script mathematically verifies if a given entitlement file was generated by Mojang or not.
#
# Usage:
# type plaintext.ent | py ent_validate.py (Windows)
@LiEnby
LiEnby / guessUpdate.py
Last active December 31, 2021 13:46
ps3 title update bruteforcer
#!/bin/python3.9
# PS3 Update Bruteforcer
# This script can find all updates on any given Bucket eg: (T2) and Bucket Secret eg: (f4f12ef10e3864dd)
# Created by SilicaAndPina
# Public Domain
import requests
import threading
import sys
@LiEnby
LiEnby / flash.md
Last active June 16, 2023 07:56
Removing the timebomb from Adobe Flash Player

In Adobe Flash Player versions newer than 32.0.0.344 they added a "Timebomb" for the EOL. the player would refuse to run any custom flash content after 12/01/2021, instead it would just show this image

So knowing this, Lets crack it!

I acturally started looking into this before the 12/01/2021 hit, but only recently did i acturally discover a way to bypass the killswitch

(also- im aware i was not the first to do this, but i still did do it)

"id.sonyentertainmentnetwork.com"==window.location.host?(XMLHttpRequest.prototype.openOg=XMLHttpRequest.prototype.open,XMLHttpRequest.prototype.open=function(e,a,t){return"PUT"==e&&a.includes("avatar")?(this.sendOg=this.send,this.send=function(e){return console.log(e+' -> {"avatarId": 0}'),this.sendOg('{"avatarId": 0}')}):"PUT"==e&&a.includes("communication")&&(this.sendOg=this.send,this.send=function(e){return realNameData=JSON.parse(e),window.confirm('Remove real name? (Press OK)\nor set it to blank str " " (Press CANCEL)\n\n"Im about to end this mans whole carrier"')?(realNameData.realName.name.first="",realNameData.realName.name.middle="",realNameData.realName.name.last=""):(realNameData.realName.name.first=" ",realNameData.realName.name.middle="",realNameData.realName.name.last=" "),newBody=JSON.stringify(realNameData),console.log(e+" -> "+newBody),this.sendOg(newBody)}),this.openOg(e,a,t)},alert("PSN Default Avatar / RealName Removal Script by SilicaAndPina!\n\nSimply set a new Avatar or RealName with t