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
<?php
// Using mysql for backwards compatibility.
// Disable that pesky depreciated warning with php5.
error_reporting(E_ALL ^ E_DEPRECATED);
// We need to have our database information somewhere.
$conf = Array(
'host' => '127.0.0.1', // Host
'user' => 'root', // Username
'pass' => '', // Password
(function(){
if(typeof(Storage) === "undefined") {
throw new Error("No Web Storage support! Terminating script. Try updating your browser.");
}
function saveUserNotes(uid,notes) {
try {
localStorage.setItem('lf_notes_'+uid,notes);
return true;
} catch(e) {
@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
#!/usr/bin/env python
import urllib2
from bs4 import BeautifulSoup
import re
import sys
fdurl = urllib2.urlopen('http://hashkiller.co.uk')
soup = BeautifulSoup(fdurl.read())
@notmike101
notmike101 / keygen.vb
Created November 10, 2015 19:51
gInject Keygen
Imports Microsoft.VisualBasic
Imports Microsoft.VisualBasic.CompilerServices
Imports System
Imports System.Collections
Imports System.ComponentModel
Imports System.Diagnostics
Imports System.Drawing
Imports System.IO
Imports System.Management
Imports System.Runtime.CompilerServices

Keybase proof

I hereby claim:

  • I am IRDeNial on github.
  • I am notmike (https://keybase.io/notmike) on keybase.
  • I have a public key whose fingerprint is CB53 D8BE 8406 BD0B 8922 D553 CB5D 110B 5477 423A

To claim this, I am signing this object:

@notmike101
notmike101 / EmbedText.plugin.js
Created March 9, 2017 01:10
A self-bot embedded inside a BetterDiscord plugin that allows you to use the rich-text/embed feature.
//META{"name":"EmbedText"}*//
/* HOW TO USE:
COMMAND: /embed (color:#000000) (title:"Title") Text Content
Ex: /embed color:#ff0000 title:"This is the title" This is the text
This will create an embed with a red color and with a title saying "This is the title" with textsaying "This is the text".
Color can be any hex color.
Title MUST be wrapped in double quotes.
v2 will allow for both single and double quotes.
*/
methods: {
/*
* Inject a script tag into the page
* Parameters:
* path: Path of JS file
* target (default = head): Element that script should be injected into
* Pass a querySelector or a node here
* isAsync (default= true): Apply the 'async' property to the output tag
* isDefer (default = true): Apply the 'defer' property to the output tag.
*/
@notmike101
notmike101 / keybase.md
Created May 11, 2020 04:39
keybase.md

Keybase proof

I hereby claim:

  • I am notmike101 on github.
  • I am notmike (https://keybase.io/notmike) on keybase.
  • I have a public key ASCxFjutBiU8y_2fNS6bvnzCaLDln756PlHnwGXRtp6dRgo

To claim this, I am signing this object: