Skip to content

Instantly share code, notes, and snippets.

@attilathedud
attilathedud / vmsetup.txt
Created March 7, 2020 04:04
BoxInstaller script for game hacking vms
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
cinst cheatengine
cinst x64dbg.portable
@attilathedud
attilathedud / text_editor.c
Created October 21, 2018 01:52
A simple terminal text editor using ncurses
// A full breakdown of the code involved can be found at http://attilathedud.me/writing-a-terminal-text-editor/
// To compile, make sure to link ncurses:
// gcc -o editor text_editor.c -Wall -lncurses
#include <ncurses.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#define KEY_DELETE 127
@attilathedud
attilathedud / BrowserQuest-bot.js
Created January 28, 2018 07:34
An auto-attack bot for BrowserQuest
/*!
* A bot for BrowserQuest(http://browserquest.mozilla.org/) that hooks the client to send auto-attack commands. Can be seen in
* action at https://gfycat.com/ifr/EcstaticHomelyEastrussiancoursinghounds
*
* Execute in the developer console after you load into the server with your player. Tested with Chrome.
*/
/*!
* Development was done on a modified version (https://github.com/nenuadrian/BrowserQuest) of BrowserQuest that fixed some
* dependency issues in the original version.
@attilathedud
attilathedud / task_for_pid.c
Last active July 4, 2021 10:52
Mac OS X El Capitan (10.11) and task_for_pid()
/*
Full explanation is available here: http://attilathedud.me/mac-os-x-el-capitan-10-11-and-task_for_pid/
*/
/*
To compile, create a file called Info.plist with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">