Skip to content

Instantly share code, notes, and snippets.

@misodengaku
misodengaku / extract.cs
Created September 25, 2014 17:39
weissman extract
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleApplication3
@misodengaku
misodengaku / hugekey.cs
Created September 28, 2014 13:55
Huge Key writeup
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace hugekey
{
@misodengaku
misodengaku / comapp.cs
Created September 28, 2014 15:28
Commercial Application! writeup
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace commercial_app
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace simpleserial
{
class Program
[root@quark0176f5]
# cat /lib/systemd/system/connect.service [~]
[Unit]
Description=Connect to Home Network
Requires=gpstime.service
After=gpstime.service
[Service]
Type=forking
TimeoutStartSec=10
#include <stdio.h>
void main()
{
int i = 0;
unsigned char d = 0;
FILE *fp = fopen("Reverseit", "rb");
FILE *ofp = fopen("reversed_1.jpg", "wb");
while (i < 0x1e12)
{
@misodengaku
misodengaku / gist:d049985dc6d4fadaefcd
Last active August 29, 2015 14:15
SECCON 2014 5鯖
while true
do
// チームのdefence keyword
KW=`cat keyword.txt`
echo "KW: $KW"
svn delete * --force
touch $KW
svn add $KW
svn commit -m totori
sleep 5
@misodengaku
misodengaku / cmd.sh
Created February 8, 2015 12:14
SECCON 2014 伍
#!/bin/sh
REVS=`svn info http://repo/svn/flags | grep ^Revision | sed -e s/"Revision: "//g`
while [ $REVS -ne 0 ]
do
svn export http://repo/svn/flags . -r $REVS --force > /dev/null
REVS=`expr $REVS - 1`
done
@misodengaku
misodengaku / .zshrc
Last active November 30, 2017 01:15
zshrc
# 神 https://gist.github.com/teshi04/6132532
# env
export TERM='xterm'
export LSCOLORS=exfxcxdxbxegedabagacad
export LANG=ja_JP.UTF-8
export GOPATH=~/go
export PATH=$PATH:$GOPATH/bin
alias ls="ls --color"
from PIL import Image
// とちゅう
char = [(100, '&'), (200, '-'), (10, '0'), (1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), (7, '7'), (8, '8'), (9, '9'), (101, 'A'), (102, 'B'), (103, 'C'), (104, 'D'), (105, 'E'), (106, 'F'), (107, 'G'), (108, 'H'), (109, 'I'), (201, 'J'), (202, 'K'), (203, 'L'), (204, 'M'), (205, 'N'), (206, 'O'), (207, 'P'), (208, 'Q'), (209, 'R'), (11, '/'), (12, 'S'), (13, 'T'), (14, 'U'), (15, 'V'), (16, 'W'), (17, 'X'), (18, 'Y'), (19, 'Z'), (0, ' ')]
#for x in range(0, 80):
# d = []
# print "%d=>" % (x * 7 + 15)
mes = ""