Skip to content

Instantly share code, notes, and snippets.

View Jack2's full-sized avatar

JAEKI KIM Jack2

View GitHub Profile
from parse import *
import socket #for sockets
import sys #for exit
try:
#create an AF_INET, STREAM socket (TCP)
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
except socket.error, msg:
print 'Failed to create socket. Error code: ' + str(msg[0]) + ' , Error message : ' + msg[1]
sys.exit();
from tkinter import *
class Calc():
def __init__(self):
self.total = 0
self.current = ""
self.new_num = True
self.op_pending = False
self.op = ""
self.eq = False
user@ubuntuvm:~$ nmap -p 7547 183.114.151.0/24
Starting Nmap 6.40 ( http://nmap.org ) at 2015-07-01 10:13 EDT
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
Stats: 0:01:58 elapsed; 0 hosts completed (0 up), 256 undergoing Ping Scan
Ping Scan Timing: About 46.68% done; ETC: 10:18 (0:02:16 remaining)
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
user@ubuntuvm:~/Secu2015$ cat vuln.c
#include <stdio.h>
void func(char *str){
char buffer[256];
sprintf(buffer,"%s", str);
return;
}
int main(){
/*
* KEY_SNIFF.c
*
* Created: 2015-02-25 오후 2:48:34
* Author: Jaeki
*/
#include <avr/io.h>
#include <avr/interrupt.h>
@Jack2
Jack2 / peach-wav.xml
Created September 9, 2015 00:50
Peach Pit for .wav fuzzing
<?xml version="1.0" encoding="utf-8"?>
<Peach xmlns="http://peachfuzzer.com/2012/Peach" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://peachfuzzer.com/2012/Peach /peach/peach.xsd">
<!-- Defines the common wave chunk -->
<DataModel name="Chunk">
<String name="ID" length="4" padCharacter=" " />
<Number name="Size" size="32" >
<Relation type="size" of="Data" />
from socket import *
s = socket(AF_INET, SOCK_STREAM)
s.connect(('192.168.0.8',4223))
data = "01"+hex(50-6+len(pdu)/2)[2:]+"000005010008002000"+hex(38-6+len(pdu)/2)[2:]+"0001"+hex(0x1d-6+len(pdu)/2)[2:]+"0006"+hex(0x1a-6+len(pdu)/2)[2:]+"00079128019291900001000b811070820289f90000"+"1149B7BA3CA6A7DF6ED0B43E1E97E773"+"200300010101"
s.send(data.decode('hex'))
s.close()
// clang -o coresymbolication_type_confusion coresymbolication_type_confusion.c -framework CoreFoundation
/*
coresymbolicationd is an on-demand xpc service running as root with the service name "com.apple.coresymbolicationd".
The coresymbolicationd commands match_mmap_archives, delete_mmap_archives, write_mmap_archive and read_mmap_archive
all perform insufficient type validation of xpc_object_t's:
The top level type of an xpc message is a dictionary, the function at __text:0000000100001620 in coresymbolicationd is responsible
for parsing this dictionary and sending any reply messages.
/* hddinfo.c */
#ifndef __KERNEL__
#define __KERNEL__
#endif
#ifndef MODULE
#define MODULE
#endif
#define __NO_VERSION__
#include <linux/module.h>
[profiles]
packages=fast,filecatcher,dump
[dump]
dump=mft,mbr,ram mft_export=True
[output]
type=csv
destination=local
dir=output
[filecatcher]
recursively=True