Skip to content

Instantly share code, notes, and snippets.

😇
😇

Yutaka WATANABE ytn86

😇
😇
View GitHub Profile
@ytn86
ytn86 / exploit.py
Last active Aug 29, 2015
DEFCON 25 Quals r0pbaby
View exploit.py
#!/usr/bin/env python3
import struct
import sys
import telnetlib
HOST = 'r0pbaby_542ee6516410709a1421141501f03760.quals.shallweplayaga.me'
PORT = 10436
@ytn86
ytn86 / install.md
Last active May 8, 2018
Dionaea導入等
View install.md

必要なライブラリ等のインストール

apt-get install libudns-dev libglib2.0-dev libssl-dev libcurl4-openssl-dev libreadline-dev libsqlite3-dev python-dev libtool automake autoconf build-essential subversion git-core flex bison pkg-config libnl-3-dev libnl-genl-3-dev libnl-nf-3-dev libnl-route-3-dev sqlite3

ここでは/opt/dionaea に依存関係まわりのインストール。

cd /opt/
@ytn86
ytn86 / hostfile
Last active Nov 23, 2016
OpenMPIメモ
@ytn86
ytn86 / cheer_msg.py
Last active Dec 11, 2016
SECCON Online 2016
View cheer_msg.py
#! /usr/bin/env python3
import struct
import telnetlib
import sys
HOST_L='localhost'
HOST_R='cheermsg.pwn.seccon.jp'
PORT=30527
@ytn86
ytn86 / crc.py
Created Apr 9, 2017
ASIS CTF 2017 Quals
View crc.py
#! python3
from ctflib import Pwn
from ctflib.util import *
from binascii import crc32
def exploit(cn):
@ytn86
ytn86 / mute.S
Last active May 1, 2017
DEFCON 2017 Quals
View mute.S
BITS 64
_start:
mov rdi, rax
mov rax, 0x3
syscall
pop rcx
mov rcx, 0x67616c66
@ytn86
ytn86 / cl_platform.c
Last active Nov 7, 2019
show OpenCL device list
View cl_platform.c
#include <stdio.h>
#include <CL/cl.h>
#define MAX_PLATFORM_SIZE 256
#define MAX_DEVICE_SIZE 256
int main()
{
cl_device_id devices[256];
You can’t perform that action at this time.