Skip to content

Instantly share code, notes, and snippets.

The time for talking is over; it's time to push buttons.

Kruithne Kruithne

The time for talking is over; it's time to push buttons.
View GitHub Profile
View glasses.lua
/run a=function(x,y)DEFAULT_CHAT_FRAME:AddMessage("\124cffffffff\124Hitem:"..x..":::::::::::::\124h["..y.."]\124h\124r");end;a(186092,"Half-Rim Reading Glasses");a(186093,"Hipster Shades");a(186090,"Black Rimmed Spectacles");a(186091,"Muscisian's Shades")
Kruithne / tile_merge.js
Created Dec 2, 2020
Tile Merge script for wow.export
View tile_merge.js
// Tile Merge Script by Kruithne
// Disclaimer: This was written for a very specific purpose and comes with no warranty.
// If this explodes, ping @Kruithne in Party Tortollans Discord (wow.export channel).
// If this teleports your dog into the vacuum of space, please do not contact me.
// Before Usage:
// - Make sure you have Node v15.3.0+ installed (
// Usage:
// 1) Copy the contents of this script to a file called 'tile_merge.js'
View gist:8d472e944f233fa5bb1b861fcd275582
// WARNING - This was written in a rush, late at night. Mostly broken, not good code.
// UV mappings are slightly wrong, scale Y -1 to fix.
// Requires modded Bufo found here ->
// Only exports Verts, Faces, UV and Normals to OBJ format (no MTL, skin it yourself!)
const fs = require('fs');
const Bufo = require('./bufo.js');
const path = require('path');
const util = require('util');
const argv = process.argv.splice(2);
View bufo.js
Bufo (
Author: Kruithne <>
License: MIT
const ENDIAN_LITTLE = 0x0;
const ENDIAN_BIG = 0x1;
const TYPE_BUFFER = 0x0;
Kruithne /
Created Mar 12, 2019
WIP fast import script
import bpy
import bmesh
objectFile = "D:\\WoWExport\\world\\wmo\\draenor\\human\\6hu_garrison_inn_v1.obj"
verts = []
normals = []
uv = []
faces = []
material_libs = set()
Kruithne / hash.php
Created Mar 10, 2017
Hashing Script
View hash.php
echo PHP_EOL;
// Command information, used by showHelp().
$commands = [
'-h' => 'Display this list of parameters.',
'-l' => 'List available hashing methods.',
'-m' => 'Select hashing method (Required).',
'-f' => 'Treat input as a file path.',
'-n' => 'Split input by line-end, hashing each line.',
Kruithne / constructor.js
Created Jan 24, 2017
Mini jQuery object constructor
View constructor.js
renderObject = (target) => {
var elem = $(target.tag || "<div/>");
for (var prop in target) {
if (!target.hasOwnProperty(prop))
if (prop == "tag")
Kruithne / rmrf.php
Created Jan 12, 2017
Recursive PHP File Deleteion
View rmrf.php
function rmrf($dir)
foreach (scandir($dir) as $node)
if ($node == "." || $node == "..")
$path = $dir . DIRECTORY_SEPARATOR . $node;
if (is_dir($path))
rmrf($path); // Directory, explore deeper.
View gist:be09fe1789f666a3ea30db20f2f1d8bc
One of the adverts* currently being served on attempts to hi-jack the users current tab/window and redirect them to another site** which appears to be an attempt at phising.
* Target ad:
** Hi-jack destinations:
Kruithne / xss.js
Created Aug 23, 2016
Sombra Overwatch XSS
View xss.js
var _0x2718 = ["\x73\x69\x7A\x65", "\x63\x68\x69\x6C\x64\x72\x65\x6E", "\x62\x6F\x64\x79\x20\x2A", "\x72\x61\x6E\x64\x6F\x6D", "\x66\x6C\x6F\x6F\x72", "\x75\x6E\x64\x65\x66\x69\x6E\x65\x64", "\x72\x6F\x74\x61\x74\x65\x58", "\x72\x6F\x74\x61\x74\x65\x59", "\x72\x6F\x74\x61\x74\x65\x5A", "\x73\x6B\x65\x77\x58", "\x73\x6B\x65\x77\x59", "\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x58", "\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x59", "\x73\x63\x61\x6C\x65\x58", "\x73\x63\x61\x6C\x65\x59", "\x70\x65\x72\x73\x70\x65\x63\x74\x69\x76\x65", "\x6C\x65\x6E\x67\x74\x68", "\x25", "\x64\x65\x67", "\x28", "\x29", "\x63\x73\x73", "\x73\x6C\x6F\x77", "\x72\x65\x6D\x6F\x76\x65", "\x66\x61\x64\x65\x4F\x75\x74", "\x70\x6F\x69\x6E\x74\x65\x72\x2D\x65\x76\x65\x6E\x74\x73", "\x6E\x6F\x6E\x65", "\x23\x67\x6C\x69\x74\x63\x68", "\x3C\x64\x69\x76\x20\x69\x64\x3D\x22\x74\x72\x61\x6E\x73\x6D\x69\x73\x73\x69\x6F\x6E\x22\x3E\x2E\x2E\x2E\x3C\x62\x72\x2F\x3E\x3C\x73\x70\x61\x6E\x20\x63\x6C\x61\x73\x73\x3D\x22\x63\x6F\x6E\x74\x65\x6E\x74\x22\x3E\x3C\x2F