原创 narnia4

/** narnia4.c */ /* This program is free software; you can redistribute it and/or modify it under the terms of

原创 behemoth - 04

#include <stdio.h> #include <unistd.h> int main(int argc, char *argv[]) { char fname[16]; /* $esp + 0x28 */ char chr

原创 使用gprof 或 valgrind查看函數調用頻率及程序性能瓶頸調試

利用 gprof2dot 和graphviz 圖形化定位linux c/c++系統性能瓶頸 1 下載 http://code.google.com/

原创 linux x86_64 緩衝區溢出分析 以及 shellcode簡介

/* buger.c */ #include <stdio.h> #include <string.h> #include <stdlib.h> int main(void) { char buffer[128] = {0};

原创 narnia8

/** narnia8.c */ /* This program is free software; you can redistribute it and/or modify it under the terms of

原创 utumno - 7

root@today:~/Desktop/misc/utumno/utumno6# ssh [email protected] [email protected]'s password: totiquegae ut

原创 utumno - 5

root@today:~/Desktop/misc/utumno/utumno5# ssh [email protected] [email protected]'s password: woucaejiek ut

原创 utumno - 6

root@today:~/Desktop/misc/utumno/utumno6# ssh [email protected] [email protected]'s password: eiluquieth ut

原创 習慣重於方法 - 書籍

每一本書籍分爲四列, 第一列爲書名, 第二列爲簡介或者描述, 第三列爲閱讀完成的時間, 第四列爲我對書籍的評分 it類書籍 已讀 《若爲自由故》 自由軟件之父理查德·斯托曼傳 2017-02-12 85 《掘金黑客》 馬克斯.維京這位

原创 WeChall - overthewire

WeChall Scoreboard OverTheWire makes use of a scoreboard provided by WeChall to allowplayers to track their own prog

原创 utumno - 2

root@today:~# ssh [email protected] [email protected]'s password: ceewaceiph utumno2@melinda:~$ cd /tmp

原创 utumno - 4

root@today:~/Desktop/misc/utumno/utumno4# ssh [email protected] utumno4@melinda:~$ cd /tmp/utu4 utumno4@melinda:

原创 kernel-000-bootsec.s

計算機啓動流程初期過程簡述: 計算機上電, 給cpu某一引腳一個脈衝, 初始化寄存器的值 cs:ip 指向 0xfffffff0 跳轉到BIOS某處執行 BIOS把MBR加載到0x7c00處, 並跳到此處執行 MBR把自己轉移到0x90

原创 這隻猩猩很難控制 - Two star programming

Two star programming 2013-01-08 • C, Torvalds,Algorithms •46 Comments A few weeks ago Linus Torvalds answered some

原创 behemoth - 06

/* behemoth6.c */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> int main(int argc, c