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 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(); |
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 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 |
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
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 |
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
user@ubuntuvm:~/Secu2015$ cat vuln.c | |
#include <stdio.h> | |
void func(char *str){ | |
char buffer[256]; | |
sprintf(buffer,"%s", str); | |
return; | |
} | |
int main(){ |
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
/* | |
* KEY_SNIFF.c | |
* | |
* Created: 2015-02-25 오후 2:48:34 | |
* Author: Jaeki | |
*/ | |
#include <avr/io.h> | |
#include <avr/interrupt.h> |
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
<?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" /> |
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 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() |
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
// 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. |
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
/* hddinfo.c */ | |
#ifndef __KERNEL__ | |
#define __KERNEL__ | |
#endif | |
#ifndef MODULE | |
#define MODULE | |
#endif | |
#define __NO_VERSION__ | |
#include <linux/module.h> |
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
[profiles] | |
packages=fast,filecatcher,dump | |
[dump] | |
dump=mft,mbr,ram mft_export=True | |
[output] | |
type=csv | |
destination=local | |
dir=output | |
[filecatcher] | |
recursively=True |