Skip to content

Instantly share code, notes, and snippets.

View mouseroot's full-sized avatar
⚙️
Developing

Mouseroot mouseroot

⚙️
Developing
View GitHub Profile
@mouseroot
mouseroot / zipfs.py
Created April 30, 2013 16:39
Zip based filesystem
#ZipFS
import zipfile
import os
class FileSystem:
def __init__(self,name="fs.zip"):
self.drive = name
self.apps = []
@mouseroot
mouseroot / unix_links.txt
Created April 30, 2013 16:38
Unix related links
@mouseroot
mouseroot / 4chan_downloader.sh
Last active December 16, 2015 03:19
Mousetech.org Shell
#!/bin/bash
#Get number of parameters
#if its 2 then continue
if [ "$#" -eq 2 ]; then
url="$1"
dir="$2"
mkdir -p $dir
domain="images.4chan.org"
user_agent="Mozilla"
@mouseroot
mouseroot / run_pip.bat
Last active December 14, 2015 08:39
Batch script to run PIP for python on windows Because for some odd reason i must CD into C:\Python27\Lib\site-packages\pip and run python __init__.py <args> in order to use PIP and yes it is in my path...don't know why it doesn't work but this batch file was created to fix it
@echo off
cls
echo Python PIP
echo ----------
cd C:\Python27\Lib\site-packages\pip\
python __init__.py %1
echo ----------
@mouseroot
mouseroot / Overview
Created December 21, 2012 17:41
Cracking WPA/WPA2
apt-get install aircrack-ng
apt-get install macchanger
ifconfig <interface> down
macchanger -s 00:00:13:37:00:00 <interface>
airmon-ng start <interface>
ifconfig <interface> up
airodump-ng <interface>
...let it populate
^c
@mouseroot
mouseroot / TreeNode.java
Created September 21, 2012 03:50
TreeNode class
private static class TreeNode
{
//Customer information
int id;
String name;
TreeNode left;
TreeNode right;
//Our constructor takes the id and first and last name
@mouseroot
mouseroot / ret_to_main.sh
Created September 1, 2012 05:33
Simple gdb script to rerturn the eip to libc main
set $s = dyld_stub_rand
set $p = ($s+6+*(int*)($s+2))
call (void*)dlsym((void*)dlopen("myrand.dylib"), "my_rand")
set *(void**)$p = my_rand
c
@mouseroot
mouseroot / needle.txt
Created September 1, 2012 01:47
Linux x86 Runtime process doc
[------------------------------------------------------------------------]
[-- Uninformed Research -- informative information for the uninformed. --]
[------------------------------------------------------------------------]
[-- Genre : Development --]
[-- Name : needle --]
[-- Desc : Linux x86 run-time process manipulation --]
[-- Url : http://www.uninformed.org/ --]
[-- Use : EVILNESS --]
[------------------------------------------------------------------------]
@mouseroot
mouseroot / client.py
Created August 31, 2012 06:11
XMLRPC Client/Server
#!/usr/bin/python
import xmlrpclib,os
def main():
cli = xmlrpclib.Server("http://192.168.0.2:1337")
for file in os.listdir("send-files"):
print file
if os.path.isdir("send-files/" + file) == True:
print "Dir:",file
apt-get install apache2 php5 libapache2-mod-php5 php5-mysql php5-sqlite php5-curl php5-xdebug php5-gd php5-cgi