Skip to content

Instantly share code, notes, and snippets.

View notmike101's full-sized avatar
🧟
Surviving the zombie apocalypse

Mike notmike101

🧟
Surviving the zombie apocalypse
View GitHub Profile
#include <Windows.h>
bool runInSafeScreen(const char *, const char *);
BOOL IsUserAdmin(VOID);
int main() {
// We need to check if the user has administrator privileges.
if (!IsUserAdmin()) {
// If they don't, tell them they need administrator privileges.
printf("Please run this program as an administrator\n");
@notmike101
notmike101 / patch.cpp
Created November 10, 2015 19:47
FileProtector Program Patch
/*
FileProtector Crypter Patch
Created by _DeNy
3/20/2013
*/
#include <windows.h>
#include <stdio.h>
#include <time.h>
#include <iostream>
@notmike101
notmike101 / patch.cpp
Created November 10, 2015 19:49
HeroHacks Patcher Program
/*
HeroHacks Loader Patch
Patches the HeroHacks loader using detours on the winsock functions
send and recv in order to fake the correct response, allowing for
full use of the hack.
Written by _DeNy.
Time: 5 hours (Mostly due to lazyness and working on this off-and-on)
Date: 3/16/2013
@notmike101
notmike101 / MARcon.lua
Created November 2, 2020 19:31
Mani Admin Rcon "Hacker"
-- This is old, probably doesn't work anymore
if args=="es" then
for x=1,50 do
cmd('"changelevel ""ma_say;rcon_password lolololz"')
wait(10)
cmd('"changelevel 1""ma_say;rcon_password lolololz"')
wait(10)
cmd('"changelevel ""ma_psay;rcon_password lolololz"')
wait(10)
@notmike101
notmike101 / DCMenu.lua
Created November 2, 2020 19:14
LSS Disconnect Exploit Menu
-- #############
-- #############
-- Note from 2020: This probably doesn't work anymore. Just doing this to archive
-- #############
-- #############
-- Sense so many people are starting to leach it, enjoy no more sells!
-- You must have LSS for this to work: http://www.3rdera.com/ To make this
-- script work, after installing LSS, type ***OPENSCRIPTCMD*** DCMenu.lua open
-- It MUST be named DCMenu.lua or else it wont work.
# FizzBuzz written using Rockstar language provided by codewithrockstar.com
# This could obviously be simpler, but I wanted to make this as close to actual song lyrics as possible
# AI generated song: https://suno.com/song/eaa91cc5-1e94-4ebe-b9d8-bb55cbd64fa1
Life takes love and blood.
Let My Family be love over blood.
Turn down my family.
Let my child be blood times my family.
Let my soul be love minus my child.
Send back my soul.
@notmike101
notmike101 / example.js
Last active May 2, 2023 02:35
JavaScript - General Monkeypatch
import { patch } from './monkeyPatch';
(() => {
patch(EventTarget, 'dispatchEvent', function() {
const args = Array.from(arguments);
const customEvent = new CustomEvent('GLOBAL_LOGGER', {
details: args[0],
});
/*
Print the numbers 1 to 100.
For multiples of 4, print "Fizz".
For multiples of 5 print "Buzz".
For multiples of 8, print "Foo".
For multiples of 10, print "Bar"
For multiples of 4 and 5, print "FizzBuzz".
For multiples of 4 and 8, print "FizzFoo"
For multiples of 4 and 10, print "FizzBar"
For multiples of 5 and 8, print "BuzzFoo"
BEGIN MESSAGE.
U56xb50RwNhOyjB XwqULL8KYDiK4jt 6Nj2TSh79466m0T 39lRyfxKMEBk9fv
gjYagDJMnlahfJy KVu5luEcCKETCKq 6Xr2MZHgg7CkxZb Xo8d5RrBJbk7pgE
Y9w5WD71dSV1NFd 9KQiDytPeUhBBsO RinzJ9rtz45UyYD uZ166sASJJdnClU
faOx17ETf1wdtMR usuZRuTT7EUORNz 06uwO7tiSkCT.
END MESSAGE.
--[[ VoltageHack v2 Garry's Mod multi-hack ]]--
--[[ Coded by Tyler with help from others ]]--
--[[ Do NOT leak this hack code to anyone! ]]--
--[[ Please ignore the awful messy code ]]--
--[[ Some of this code is borrowed for now ]]--
/* Start of Hack */
--Requires--