Skip to content

Instantly share code, notes, and snippets.

View mrexodia's full-sized avatar
❤️
‌‌

Duncan Ogilvie mrexodia

❤️
‌‌
View GitHub Profile
@mrexodia
mrexodia / mostlyblack.ini
Last active January 7, 2022 06:07
Mostly black and Jumps’n’calls by cypher (https://i.imgur.com/VY8LjdR.png)
[Colors]
AbstractTableViewBackgroundColor=#000000
AbstractTableViewHeaderTextColor=#000000
AbstractTableViewSelectionColor=#000080
AbstractTableViewSeparatorColor=#0000FF
AbstractTableViewTextColor=#FFFBF0
DisassemblyAddressBackgroundColor=#XXXXXX
DisassemblyAddressColor=#808080
DisassemblyAutoCommentBackgroundColor=#XXXXXX
DisassemblyAutoCommentColor=#808080
@mrexodia
mrexodia / # ccls - 2021-12-19_20-28-26.txt
Created December 19, 2021 19:37
ccls on macOS 10.15.7 - Homebrew build logs
Homebrew build logs for ccls on macOS 10.15.7
Build date: 2021-12-19 20:28:26
@mrexodia
mrexodia / undocumented.h
Last active July 27, 2021 16:09
universal PEB structure
#ifndef _UNDOCUMENTED_H
#define _UNDOCUMENTED_H
#include <windows.h>
namespace Undocumented
{
#pragma pack(push)
#pragma pack(1)
@mrexodia
mrexodia / index.php
Created December 21, 2015 17:59
Lightshot API
<?php
function addLog($text, $debug = false) {
if ($debug) {
file_put_contents("debug_log.txt", $text . PHP_EOL, FILE_APPEND);
}
}
function makeResponse($request) {
return array(
"jsonrpc" => "2.0",
@mrexodia
mrexodia / upx.py
Created September 9, 2016 15:01
Unpacking UPX with x64dbgpy
from x64dbgpy.pluginsdk import *
import sys
cip = register.GetCIP()
if memory.ReadByte(cip) != 0x60:
gui.Message("Start at UPX entry point (1:[CIP]==0x60)")
exit(0)
x64dbg.DbgCmdExecDirect("bc")
x64dbg.DbgCmdExecDirect("bphwc")
https://www103.zippyshare.com/v/bcTx7d5Y/file.html
// License: public domain/CC0
#include <regex>
#include <string>
#include <cstdio>
#include <utility>
#include <climits>
#include <cinttypes>
bool parseNumber(const char* str, uint64_t& result, int radix = 0)
{
@mrexodia
mrexodia / capslayer.ahk
Created November 24, 2019 23:27
capslayer.ahk
; Source: https://www.autohotkey.com/boards/viewtopic.php?p=131059#p131059
CapsLock::
; KeyWait, CapsLock ; wait for Capslock to be released
; KeyWait, CapsLock, D T0.2 ; and pressed again within 0.2 seconds
; if ErrorLevel
; return
; else if (A_PriorKey = "CapsLock")
; SetCapsLockState, % GetKeyState("CapsLock","T") ? "Off" : "On"
return
{-# LANGUAGE ExtendedDefaultRules #-}
{-# LANGUAGE FlexibleInstances #-}
import Data.List
import Control.Monad.State
data Boool = Truue | Faalse
deriving (Show)
data Shape = Circle Float | Rectangle Float Float
@mrexodia
mrexodia / inject.js
Created June 18, 2019 19:13
Disable LastPass for FFXIV OTP Form
var otppw = document.getElementById("otppw");
if(otppw !== null) {
otppw.type = "text";
otppw.setAttribute("data-lpignore", "true");
}