Skip to content

Instantly share code, notes, and snippets.

View GarnetSunset's full-sized avatar
🥌
Hack the roomba

James Duarte GarnetSunset

🥌
Hack the roomba
  • Rapid7
  • 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 / docker-tasks.yml
Last active March 26, 2024 18:45
Various services and tools running with auto-healing and updating enabled.
---
networks:
arakawa-net: {}
mongo-petio: {}
rustdesk-net:
external: false
services:
archisteamfarm:
container_name: archisteamfarm
environment:
@GarnetSunset
GarnetSunset / startup.ps1
Last active January 9, 2024 23:42
startup.ps1
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 {
Write-Output "Failed to connect. Retrying in 5 seconds..."
@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
@GarnetSunset
GarnetSunset / mainPC.config
Last active November 23, 2022 02:13
mainPC.config
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="amd-ryzen-chipset" />
<package id="audacity" />
<package id="autoruns" />
<package id="bitwarden" />
<package id="bleachbit" />
<package id="bleachbit.install" />
<package id="cheatengine" />
<package id="chocolatey" />
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',