上一页 1 ··· 17 18 19 20 21
摘要: VirtualBox中有4中网络连接方式:NATBridged AdapterInternalHost-only AdapterVMWare中有三种,其实他跟VMWare 的网络连接方式都是一样概念,只是比VMWare多了Internal方式。要让自己(或别人)理解深刻,方法就是做比较和打比方,比较之间的不同和相同,拿熟知的事物打比方。先来一张图,通过这张图就很容易看出这4种方式的区别:(注:此图直接取至Finalbug的Blog,表示感谢)再来用文字做详细的解释(其实归结起来就是上面的那张图):1、NATNAT:Network Address Translation,网络地址转换NAT模式是 阅读全文
posted @ 2012-09-29 19:38 jeremyatchina 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 void return_input(void) 3 { 4 char array[5]; 5 6 gets(array); 7 printf("%s\n", array); 8 } 9 main()10 {11 return_inpu... 阅读全文
posted @ 2012-09-28 15:51 jeremyatchina 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 void function(int a,int b) 3 { 4 int array[5]; // total : 20 bytes. 5 } 6 7 main() 8 { 9 printf("this is where the return address poi... 阅读全文
posted @ 2012-09-28 10:20 jeremyatchina 阅读(931) 评论(0) 推荐(0) 编辑
摘要: WordPress Charset SQL Injection Vulnerability11 Dec. 2007SummaryWordPress is "a state-of-the-art semantic personal publishing platform with a focus on aesthetics, web standards, and usability".It is found that the search function provided within WordPress fails to sanitize input based on d 阅读全文
posted @ 2012-09-28 01:10 jeremyatchina 阅读(424) 评论(0) 推荐(0) 编辑
摘要: gcc -g -o hello.exe hello.s // -g 加入訊息方便debuggdb 用法gdb -q hellobreak *main //亦可 b *mainrun //亦可print/x $eax //印出 16進位 的 register 內容print $eax //印出 10進位 的 register 內容print *(&array+1) //印出array[1]之值----dword : 4 bytes word : 2 bytesmov ax,BUFF #把BUFF(in memory) 的 value 放入ax register lea ax,BUFF # 阅读全文
posted @ 2012-09-28 00:36 jeremyatchina 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 學習軟體︰ GNU Assembly for Intel硬體平台︰ Intel作業平台︰ Linux、FreeBSD 和 Windows 的 MinGW 說明︰ 1.市面上的組合語言書籍大多以 MASM 為主,缺乏介紹 GNU Assembly 的書。 2.GNU Assembly 除了用在 Intel CPU上,也有其它知名 CPU 的版本,如 MIPS、SPARC等等。 GNU Assembly 更可用在「嵌入式系統」的 ARM 或 Intel CPU上。 3.GNU Assembly 和 GNU C++ 連結方式在 Windows ... 阅读全文
posted @ 2012-09-28 00:31 jeremyatchina 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 1 #Program Description: 2 #Author:Jeremy 3 #Creation Date:2012/9/25 10:21 4 #Revisions: 5 #Date: #Modified by: 6 7 #寫一個組合語言程式,輸一整數 n, 印出 其絕對值。 8 .section .data 9 msg: .asciz "請輸入一整數:"10 n: .int 011 ifmt:.asciz "%d"12 ofmt:.asciz "the abs value is %d"13 .section .text14 阅读全文
posted @ 2012-09-26 15:14 jeremyatchina 阅读(1003) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21