This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Script: Handles motherless.com | |
By: Mouseroot | |
--]] | |
function probe() | |
return vlc.access == "http" and string.match(vlc.path,"motherless.com") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chrono Trigger | |
Earthbound | |
Final Fantasy III | |
Kirbys Dream Land 3 | |
Secret of Mana | |
Shadowrun | |
Super Mario RPG | |
Super Mario World | |
Zelda - A Link to the Past |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#toriptables.sh | |
# I learned this from https://wiki.torproject.org/noreply/TheOnionRouter/TransparentProxy | |
#Reject all ICMP packets because they have no owner which creates a leak | |
iptables -A OUTPUT -p icmp -j REJECT | |
#All traffic for the user root will go through tor | |
iptables -t nat -A OUTPUT ! -o lo -p tcp -m owner --uid-owner root -m tcp -j REDIRECT --to-ports 9040 | |
iptables -t nat -A OUTPUT ! -o lo -p udp -m owner --uid-owner root -m udp --dport 53 -j REDIRECT --to-ports 53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from BeautifulSoup import BeautifulSoup | |
import urllib | |
import urllib2 | |
import os | |
from optparse import OptionParser | |
from time import sleep | |
def fetchImages(url): | |
downloaded_images = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#BeautifulSoup Test | |
from BeautifulSoup import BeautifulSoup | |
import urllib | |
import urllib2 | |
def main(): | |
#Setup Headers | |
user_agent = "Mozilla/6 (Windows 7 64bit) Gecko" | |
headers = {"user-agent" : user_agent} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from optparse import OptionParser | |
def main(): | |
pass | |
if __name__ == "__main__": | |
usage = "Usage: %prog [Options] <params>" | |
desc = "Template" | |
parser = OptionParser(usage=usage,description=desc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
app="load" | |
rm *.o | |
nasm -f elf $app.asm | |
gcc -o $app $app.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ctypes import * | |
from ctypes.wintypes import * | |
WNDPROCTYPE = WINFUNCTYPE(c_int, HWND, c_uint, WPARAM, LPARAM) | |
WS_EX_APPWINDOW = 0x40000 | |
WS_OVERLAPPEDWINDOW = 0xcf0000 | |
WS_CAPTION = 0xc00000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Open regedit | |
2. Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\" | |
3. Change IPEnableRouter to 1 | |
4. Run services->Routing and Remote->start | |
(reboot may be nessesary) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ZipFS | |
import zipfile | |
import os | |
class FileSystem: | |
def __init__(self,name="fs.zip"): | |
self.drive = name | |
self.apps = [] |