09 2012 档案
摘要:http://www.rustyrazorblade.com/2010/12/virtualbox-4-nat-port-forwarding-gui/http://www.aoddy.com/2011/08/01/ssh-a-guest-server-in-virtualbox-by-port-forwarding//etc/init.d/network restart 重啟網路設定lspci查看,網路卡是抓到?
阅读全文
摘要:VirtualBox中有4中网络连接方式:NATBridged AdapterInternalHost-only AdapterVMWare中有三种,其实他跟VMWare 的网络连接方式都是一样概念,只是比VMWare多了Internal方式。要让自己(或别人)理解深刻,方法就是做比较和打比方,比较之间的不同和相同,拿熟知的事物打比方。先来一张图,通过这张图就很容易看出这4种方式的区别:(注:此图直接取至Finalbug的Blog,表示感谢)再来用文字做详细的解释(其实归结起来就是上面的那张图):1、NATNAT:Network Address Translation,网络地址转换NAT模式是
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要: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
阅读全文
摘要: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 #
阅读全文
摘要:學習軟體︰ 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 ...
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号