$ cat rand.c
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
int main(void)
{
srand((unsigned) time(NULL));
for (int i=0; i<=20; i++) {
printf("%d \n",rand()%10);
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
0..128.times{|i| print "%#{i.to_s(16).rjust(2,'0')}"} |
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
1 | |
環境セットアップ | |
2 環境セットアップ(Ubuntu 16.04 x64前提) 各種インストール | |
$ apt-get install binutils python2.7 perl socat git build- | |
essential gdb gdbserver | |
※使いそうなものをとりあえず書いただけで,全部使う訳ではありません | |
gdb-peda導入 | |
$ git clone https://github.com/scwuaptx/peda.git ~/peda | |
$ git clone https://github.com/scwuaptx/Pwngdb.git ~/Pwngdb |
GW初日に友人と半日くらい参加していた
team:hona 112/441
##プロセスアタッチ系の話
この記事は OIC ITCreate Club Advent Calendar 2015 11日目(12/11)の記事です。
誰も書かなそうだったので放置してたやつをせっかくなので11日目ということで。
人が動かしてるシェルとかプログラムとかにイタズラしたい、とか
OlderNewer