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
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <fcntl.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <sys/mman.h> |
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
#!/usr/bin/env python2 | |
# -*- coding : utf-8 -*- | |
# | |
from os import getenv | |
from sys import path, argv | |
from httplib import HTTPConnection | |
from json import loads | |
from pprint import pprint | |
from array import array |
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 BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer | |
from SocketServer import ThreadingMixIn | |
from urlparse import urlparse | |
from datetime import datetime | |
import os, sys, tempfile | |
__author__ = "@_hugsy_" | |
__version__ = 0.1 | |
__desc__ = "basic http server to use for quick upload and download" |
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
#!/usr/bin/env python2.7 | |
# | |
# Merge two or more databases created by LogReqRes plugin for proxenet | |
# | |
import sys, sqlite3 | |
def init_merge_database(cur): | |
try: |
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
""" | |
Simple UserLand Keylogger for Windows | |
Based on pyHook. | |
@_hugsy_ | |
""" | |
import sys | |
from ctypes import * | |
try: |
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
#!/usr/bin/env python2 | |
import os | |
import sys | |
import time | |
import subprocess | |
try: | |
from pyvirtualdisplay import Display | |
except ImportError: |
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
############################################################## | |
# | |
# Universal JDWP shellifier | |
# | |
# References | |
# * http://docs.oracle.com/javase/1.5.0/docs/guide/jpda/jdwp-spec.html | |
# * http://docs.oracle.com/javase/1.5.0/docs/guide/jpda/jdwp/jdwp-protocol.html | |
# | |
# Note: this script DOES NOT read output from command executed on backend. You should | |
# only use it to create a reverse shell |
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
--- ptrace/disasm.c 2014-04-10 10:30:33.000000000 +1200 | |
+++ ptrace/disasm2.c 2014-09-04 12:52:53.425315639 +1200 | |
@@ -4,28 +4,21 @@ | |
try: | |
from ptrace.cpu_info import CPU_I386, CPU_X86_64 | |
- try: | |
- from distorm3 import Decode | |
- if CPU_X86_64: | |
- from distorm3 import Decode64Bits as DecodeBits |
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
#include <stdio.h> | |
#include <unistd.h> | |
#include <sys/ptrace.h> | |
#include <sys/types.h> | |
#include <sys/mman.h> | |
#include <string.h> | |
#define MSG "ptrace protected" | |
int main(int argc, char** argv, char** envp) |
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
#!/usr/bin/python2 | |
# [+] Opening connection to 172.28.128.3 on port 1338: Done | |
# [*] Smash null byte | |
# [*] Reading from memory | |
# [*] Leaked puts@glibc at 0xb7665650 | |
# [*] system@glibc is at 0xb7640190 | |
# [*] Overwriting puts@got with system@glibc | |
# [*] Triggering | |
# [*] Switching to interactive mode |
OlderNewer