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
import idaapi | |
def write(address, size): | |
buff = '\x00' * size | |
return idaapi.dbg_write_memory(address, buff) | |
if __name__ == '__main__': | |
address = idaapi.get_screen_ea() | |
size = 256 | |
print '[*] write memory' |
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
# Import urllibs for read data from web-site | |
import urllib | |
import urllib2 | |
# Import smtplib for the actual sending function | |
import smtplib | |
# Import the email modules we'll need | |
from email.mime.text import MIMEText | |
# Import time lib for sleep | |
import time |
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 | |
# ============================================================================ | |
# backup_ast -- A utility for backing up asterisk configuration files # | |
# # | |
# Version: 1.0 # | |
# Written By: Mike Boylan # | |
# Robert Morris University # | |
# boylan@rmu.edu # | |
# ============================================================================ | |
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
#pragma comment(linker, "/OPT:NOREF") // this tells the linker to keep the machine code of unreferenced source code | |
#pragma optimize("", off) // disable all optimizations in order for our stub to run smootly, though im not sure if it really helps, i just saw some guy doing it this way lolz <span class="wp-smiley emoji emoji-smile" title=":)">:)</span> | |
#include <windows.h> // familiar? | |
#include <stdio.h> // i wonder what this might be, hmm... | |
// gets the first sections header offset | |
#define SECHDROFFSET(a) ((LPVOID) ( (LPBYTE) a + \ | |
((PIMAGE_DOS_HEADER)a)->e_lfanew + \ | |
sizeof(IMAGE_NT_HEADERS))) |
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/python | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |