Skip to content

Instantly share code, notes, and snippets.

View LiEnby's full-sized avatar

Li LiEnby

View GitHub Profile
@LiEnby
LiEnby / Mysteries of the Bedrock PS4 "Editions" Button.md
Last active August 15, 2024 10:58
Mysteries of the Bedrock PS4 "Editions" Button

Hey i decided to investigate the mysterious "Editions" button on minecraft bedrock, and specifically wanted to figure out the exact conditions for it to appear/disappear. and/or if theres a way to make it appear

i saw lots of videos online that made no sense, claiming you had to play LCE on v1.00 for 5 hours, but this apparnetly "only sometimes works" also apparently for some just getting the 1.00 disc and putting it in just works

use the original 1.00 DISC version and play the LCE, or like strangley de-activating your ps4 as primary and then playing on another user and suddenly editions appears ???

it all made little sense, based on what i knew about how playstation stuff worked,

@LiEnby
LiEnby / downgrading-ps4-titles.md
Last active September 10, 2024 17:37
Downgrading ps4 bedrock to LCE with network shenanigans

i wanted to try out the ps4 LCE.. had a look around found a few posts about if you have a disc containing 1.0 version you can play it by not updating, and something about an 'editions' button that only sometimes shows up or something. in the bedrock verison of the game. i don't have a disc copy of the game i have the digital version, and i brought it after they changed to bedrock. so out of luck but like i do know my playstation internals.. the bedrock version was just an update to the game, their the same title id and everything, this means that my license for bedrock edition is also a license for LCE edition, because their .. according to the PS4 the exact same game.

all i needed was a way to somehow install an older version from my digital bedrock edition and it should work?

from my previous work on vita, i knew title updates are downloaded from an XML file at gs-sec.ww.np.dl.playstation.net princess of sleeping has a nice tool to find it for any game; https://princess-of-sleeping.github.io/PS4-HTML-Too

import requests
import random
import json
from faker import Faker
FAKE = Faker()
dropdown_options = ["10th and Main Public Infrastructure District","Academy for Math, Engineering and Science","Active Re-Entry, Inc.","Administrative Office of the Courts","Advantage Arts Academy","Agriculture and Food, Department of","Alcoholic Beverage Control, Department of","Alcoholic Beverage Services, Department","Alpine City","Alpine Conservation District","Alpine Cove Water Special Service District","Alpine School District","Alta Canyon Recreation Special Service District","Alta Town","Altamont Town","Alton Town","Amalga Town","American Academy of Innovation","American Fork City","American Fork City Redevelopment Agency","American Fork Metropolitan Water District","American Leadership Academy","American Preparatory Academy- Utah Charter Academies","Angell Springs Special Service District","Annabella Town","Antimony Cemetery Maintenance District","Antimony Town","Apple Valley Town","Arrowhead Springs Public Infrastruct
@LiEnby
LiEnby / MSEXCEL-SHEETPROTECTION.md
Last active September 6, 2024 12:07
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 August 17, 2024 00:59
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