Skip to content

Instantly share code, notes, and snippets.

View GarnetSunset's full-sized avatar
🎱
AIEEEEE SHE TOOK MY MAGIC 8 BALL

James Duarte GarnetSunset

🎱
AIEEEEE SHE TOOK MY MAGIC 8 BALL
  • East Coast
View GitHub Profile
@GarnetSunset
GarnetSunset / peacockautostart.bat
Created January 27, 2023 17:48
HITMAN 3 Batch File to start the peacock server and kill it simultaneously
@echo off
cd /d F:\Games\"Game Tools"\Hitman3\Peacock
start .\nodedist\node.exe chunk0.js
cd /d J:\SteamLibrary\steamapps\common\"HITMAN 3"\Retail
HITMAN3.exe
@GarnetSunset
GarnetSunset / startup.ps1
Last active March 19, 2025 19:31
startup.ps1
# This part checks for internet connectivity before proceeding
function WaitForInternetConnection {
$isConnected = $false
while (-not $isConnected) {
try {
Write-Output "Trying to connect..."
Test-Connection -ComputerName "google.com" -Count 1 -ErrorAction Stop
$isConnected = $true
Write-Output "Connection successful."
} catch {
@GarnetSunset
GarnetSunset / nand2Edizon.py
Created June 19, 2021 04:32
script to take nand saves and get them ready for edizon bulk import
from subprocess import check_output
f=[]
import os
for file in os.listdir("save"):
f.append(os.path.join("save", file))
for file in f:
tID = str(check_output("hactoolnet.exe -t save "+file, shell=True))[170:186]
############################################################################################################
#
# General Setting
#
############################################################################################################
- general: MTK_PLATFORM_CFG
info:
- config_version: V2.1.0
platform: MT6853
project: k6853v1_64_6360
rd %temp% /s /q
md %temp%
del C:\Users\James\Desktop\*.* /s /q
spicetify backup apply
npm audit fix --force
cd /d F:\Documents\Programming\Python\WinGvcci\
F:\Documents\Programming\Python\WinGvcci\WinGvcci.py
@GarnetSunset
GarnetSunset / p5SWEBMRandomizer.py
Last active February 20, 2021 21:44
Automated Shitpost Machine
import os,glob,random
from shutil import copyfile
# Garnet's automated shitpost machine for Persona 5 Scramble
## Drop webms and mp4s in the input folder that gets created upon running this once.
## run it and put it in the romfs folder
### NOTE!!! There are two MP4s, used for the phones UI, so try to find two vertical videos, or a bunch, who cares
try:
os.makedirs("random/pd/videos")
import io
offset0 = 0x4000
offset1 = 0x5000
offset2 = 0x740000
offset3 = 0xD2F000
offset4 = 0x146A000
outpt = open("logo_new_mi9t.img", "wb")
@GarnetSunset
GarnetSunset / rotInHellSpamBot.py
Created May 24, 2020 16:32
Wrote this in a fit of rage for spam emails I was getting.
import requests, names, random
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'Accept-Language': 'en-US,en;q=0.5',
'Content-Type': 'application/x-www-form-urlencoded',
'Origin': 'http://clubaaa.xyz',
'DNT': '1',
'Connection': 'keep-alive',
@GarnetSunset
GarnetSunset / websenseBruteforce.py
Last active October 7, 2024 20:03
Bruteforcing Websense to find unprotected pac files that can be used to get info about internal networks and exfiltration angles.
# GarnetSunset
## Websense bruteforcing script
import requests
import rstr
regex = r"^(([b-df-hj-np-tv-z2346789]{8})\2?(?!\2))+$"
pacUrl = "http://pac.webdefence.global.blackspider.com/proxy.pac?p="
success = open("successful.txt","a+")
// ==UserScript==
// @name Bypass Blue Media Redirector Links
// @namespace https://greasyfork.org/en/users/85671-jcunews
// @description Bypass Blue Media redirector links
// @author jcunews
// @version 1.0.2
// @license GNU AGPLv3
// @match *://*/*
// @include https://igg-games.com/*
// @grant none