Skip to content

Instantly share code, notes, and snippets.

Zer0xFF

Block or report user

Report or block Zer0xFF

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Zer0xFF
Zer0xFF / thegamesdb.yaml
Created Aug 19, 2019 — forked from J-Swift/thegamesdb.yaml
Cleaned up swagger spec for thegamesdb
View thegamesdb.yaml
swagger: '2.0'
info:
description: API Documentations
version: 1.0.0
title: TheGamesDB API
# put the contact info for your development or API team
# contact:
# email: you@your-company.com
license:
@Zer0xFF
Zer0xFF / rpcs3-updater.py
Last active Aug 19, 2019
RPCS3 update script linux/windows
View rpcs3-updater.py
import requests
import platform
api_url = ''
file_name = ''
if(platform.system() == 'Windows'):
from pyunpack import Archive
# pip install pyunpack
# pip install patool
api_url = 'https://api.github.com/repos/RPCS3/rpcs3-binaries-win/releases/latest'
View README
you'd need to download you're entitlements 1st
so login to PSN web store
then open this link https://store.playstation.com/kamaji/api/chihiro/00_09_000/gateway/store/v1/users/me/internal_entitlements?start=0&size=800&fields=game_meta,drm_def
save as JSON, i called them EU.json and USA.json as per region, then run through the script, not if you only have 1 account or of different region, adjust the script accordingly
View PS4.fan_icc
# Thanks to @RancidoPS3ita for placing send_icc_cmd in Psxita (PS4 linux arch build)
# and providing instruction on how it works
# create device node to control ICC
sudo mknod -m 0666 /dev/icc c 0x49 1
# get current fan settings
send_icc_cmd 0xA 7 0 0 52
# set default fan settings (ramp up at 79 degrees celsius)(PS4 Pro)
send_icc_cmd 0xA 6 52 0x00 0x00 0x00 0x00 0x00 0x4f 0x00 0x00 0x00 0x08 0x00 0x00 0x80 0x00 0x00 0x00 0xff 0xff 0xff 0x0f 0xff 0xff 0xff 0x0f 0xff 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x20
@Zer0xFF
Zer0xFF / README.md
Last active Jan 8, 2019
WoL PC using Raspberry Pi (RPI)
View README.md

I host all my media on my Desktop PC, which is connected to the network via WIFI, unfortunely my Wifi Card doesnt support WoL (as dont most Wifi cards?), so my solution was to use an old RPI Model B with Wifi dongle I have as WoL switch, since

  1. it's low powered, compared to keeping PC on all the time
  2. can be powered by the PC USB port
  3. has a ethernet port which can be connected directly to PC

Requirements:

  1. RPI any model with Ethernet connection and WIFI (for wifi, i used a 5 euro wifi dongle)
View ps4-auth_info.txt
Decrypting /mnt/sandbox/pfsmnt/CUSA01703-app0-patch0-union/eboot.bin AUTH_INFO.
AUTH_INFO:
0000 a7 06 c2 ac 03 00 00 36 00 00 00 00 70 00 00 10 .......6....p...
0010 00 ff 00 00 00 00 00 02 00 00 00 00 00 00 00 00 ................
0020 00 00 00 00 00 00 00 00 00 00 00 40 00 40 00 40 ...........@.@.@
0030 00 00 00 00 00 00 00 40 03 00 00 00 00 00 80 00 .......@........
0040 00 40 ff ff 00 00 00 f0 00 00 00 00 00 00 00 00 .@..............
0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
@Zer0xFF
Zer0xFF / Persona5.PS4Cheater.cht
Created Jul 9, 2018
Disable Persona 5 Anti-Screenshots
View Persona5.PS4Cheater.cht
1.4|eboot.bin|ID:CUSA06638|VER:01.00|FM:505
data|0|1007D70|byte|195|0||3CA1BD70
data|0|1007D40|byte|195|0||3CA1BD40
View PS4Updates.py
#!/usr/bin/python
import binascii
import hashlib
import hmac
import sys
def GetHash(GameID):
byte_key = binascii.unhexlify('AD62E37F905E06BC19593142281C112CEC0E7EC3E97EFDCAEFCDBAAFA6378D84')
hash = hmac.new(byte_key, 'np_%s' % GameID, digestmod=hashlib.sha256)
View reactPSPlus.js
function writeHomebrewEN(p, reactPSPlus, time) {
p.write4(reactPSPlus.add32(0x00000000), 0x00005be9);
p.write4(reactPSPlus.add32(0x00000004), 0x0f2e6600);
p.write4(reactPSPlus.add32(0x00000008), 0x0000841f);
p.write4(reactPSPlus.add32(0x0000000c), 0x90000000);
p.write4(reactPSPlus.add32(0x00000010), 0x000082b9);
p.write4(reactPSPlus.add32(0x00000014), 0x320f53c0);
p.write4(reactPSPlus.add32(0x00000018), 0xbfd18948);
p.write4(reactPSPlus.add32(0x0000001c), 0x0000000f);
p.write4(reactPSPlus.add32(0x00000020), 0x20e1c148);
View ida_function_array_gen.py
from idautils import *
from idaapi import *
from idc import *
file2 = open("/Users/USERNAME/Desktop/outfunctions.txt", "w")
for segea in Segments():
for funcea in Functions(segea, SegEnd(segea)):
functionName = GetFunctionName(funcea)
if not functionName.startswith("sub_") :
print "{\"" , functionName.strip() , "\" ," , "0x%06x"%(funcea - segea) , "},"
You can’t perform that action at this time.