This file contains hidden or 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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains hidden or 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
import socket | |
import os | |
def copyfile(): | |
host_path = "C:\Windows\System32\drivers\etc\hosts" | |
host_repl = "myhosts" | |
os.system("copy %s %s" % (host_repl,host_path)) | |
This file contains hidden or 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
import java.io.*; | |
import java.net.*; | |
import javax.swing.*; | |
public class Requests { | |
static String domain; | |
static URL myurl; | |
static URLConnection myurlc; |
This file contains hidden or 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
import pygame | |
from pygame.locals import * | |
class Game: | |
def __init__(self): | |
pygame.init() | |
self.screen = pygame.display.set_mode((640,480)) | |
self.running = 1 | |
self.clock = pygame.time.Clock() |
This file contains hidden or 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 * | |
class Win32api(): | |
def __init__(self): | |
#msdn for what dll to use | |
self.SetWindowText = windll.user32.SetWindowTextA | |
self.FindWindow = windll.user32.FindWindowA | |
def String(self,s): | |
return c_char_p(s) |
This file contains hidden or 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 threading import Thread | |
import socket | |
class clientThread(Thread): | |
def __init__(self,sock): | |
Thread.__init__(self) | |
self.socket = sock | |
self.running = 1 | |
def run(self): | |
while self.running == 1: |
This file contains hidden or 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
apt-get install apache2 php5 libapache2-mod-php5 php5-mysql php5-sqlite php5-curl php5-xdebug php5-gd php5-cgi |
This file contains hidden or 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
#!/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 | |
This file contains hidden or 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
[------------------------------------------------------------------------] | |
[-- 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 --] | |
[------------------------------------------------------------------------] |
This file contains hidden or 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
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 |
OlderNewer