Skip to content

Instantly share code, notes, and snippets.

🏐
Roller Champions Hype!

James Duarte GarnetSunset

🏐
Roller Champions Hype!
  • East Coast
Block or report user

Report or block GarnetSunset

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
View bypassBlueMedia.js
// ==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
View smashstagesDownloader.py
import requests
id = 1
while id < 1000:
headers = {
'authority': 'smashstages.com',
'upgrade-insecure-requests': '1',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36',
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3',
@GarnetSunset
GarnetSunset / chromeDriver.py
Last active Jun 28, 2019
Downloads the latest chrome webdriver, works on all platforms.
View chromeDriver.py
import os, platform, requests, zipfile
import xml.etree.ElementTree as ET
cwd = os.getcwd()
getArch = platform.architecture()
xmlUrl = "https://chromedriver.storage.googleapis.com/"
zipName = []
XML = requests.get(xmlUrl, stream=True)
tree = ET.parse(XML.raw)
View disable_websockets.js
// ==UserScript==
// @name Disable Websockets
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
if (window) {
delete window.WebSocket;
if ('WebSocket' in window) {
View MemeDog.ps1
function Invoke-Mimidogz
{
[CmdletBinding(DefaultParameterSetName="DumpCred")]
Param(
[Parameter(Position = 0)]
[String[]]
$ComputerName,
View Mimikatz.sh
curl -s https://api.github.com/repos/gentilkiwi/mimikatz/releases/latest \
| grep "mimikatz_trunk.7z" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
View bypass_websense_via_archiveis.js
// ==UserScript==
// @namespace https://github.com/garnetsunset
// @name Websense Archiver
// @description If a page is blocked, archive it for us.
// @copyright 2019, GarnetSunset (https://github.com/garnetsunset)
// @license MIT
// @version 1.3.0
// @author GarnetSunset
// @grant none
// @include https://*
@GarnetSunset
GarnetSunset / centosCleanup.sh
Created Jan 18, 2019
Cleanup Centos 6 (or whatever you want)
View centosCleanup.sh
# make sure you have yum-utils
# run me as sudo
find /var -name "*.log" \( \( -size +50M -mtime +7 \) -o -mtime +30 \) -exec truncate {} --size 0 \;
yum clean all
rm -rf /var/cache/yum
rm -rf /var/tmp/yum-*
package-cleanup --quiet --leaves --exclude-bin
package-cleanup --quiet --leaves --exclude-bin | xargs yum remove -y
package-cleanup --oldkernels --count=2
rm -rf /root/.composer/cache
@GarnetSunset
GarnetSunset / deobfuscatePowershell.py
Created Jan 18, 2019
Powershell Deobfuscator in Python, mixing multiple different methods together.
View deobfuscatePowershell.py
#Created by Max 'Libra' Kersten (@LibraAnalysis)
#Additions from lasq88's research and code.
#QoL changes and combination by GarnetSunset
import re,sys,zlib,base64,argparse
obfuscation_methods = [
('replace','Replace String','replace\s?\('),
('decompress','Compress string','::decompress'),
('split','ASCII table with split','-split'),
View vulkanUpdate.py
registryFront = "Windows Registry Editor Version 5.00\n\n[HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\Drivers]\n\"C:\\\\Windows\\\\System32\\\\DriverStore\\\\FileRepository\\\\"
registryEnd = "\\\\nv-vk64.json\"=dword:00000000\n\n"
import os, time
cwd = os.getcwd()
os.chdir("C:/Windows/System32/DriverStore/FileRepository")
all_subdirs = [d for d in os.listdir('.') if os.path.isdir(d) and "nv_dispi.inf_amd64_" in d ]
You can’t perform that action at this time.