Time of Update: 2014-10-08
標籤:gdb 調試 棧溢出 彙編 摘要: 本文主要示範linux平台下的棧溢出,首先根據理論對範例程式碼進行溢出攻擊;結果是溢出攻擊成立,但是與設想的有差別;然後採用GDB調試工具對發生的意外,進行深入的分析。測試的平台:1. ubuntu 9; gcc 4.4.1; Gdb
Time of Update: 2014-10-09
標籤:調試 條件編譯 debug 條件編譯一般情況下,來源程式中所有的行都會被編譯。有時,我們希望程式中某一部分只在某個條件不成立或成立時才去編譯,也就是對一部分內容指定編譯的條件,這就是條件編譯。條件編譯使用範式範式一:#ifndef
Time of Update: 2014-10-09
標籤:linux***********************************************聲明*********************************************************************** 原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明出處,否則追究著作權法律責任。深藍的blog:http://blog.csdn.net/huangyanlong/article/details/39900947
Time of Update: 2014-10-09
標籤:style blog http color io os ar 檔案 sp 前言: 前天在看APUE的時候突然想到了這個問題,於是給自己科普一下Linux系統的啟動流程。1.載入BIOS
Time of Update: 2014-10-09
標籤:style http color os 使用 ar strong 檔案 sp linux 查看檔案命令總結1、cat 查看檔案內容 選項-b 空白行不顯示行號。-n,空白行顯示
Time of Update: 2014-10-09
標籤:檔案 資料 2014 c r linux ad 資訊 d 2014年10月8號 天氣:無風 霧霾 空氣汙染指數452 嚴重汙染 ①cat
Time of Update: 2014-10-09
標籤:http io os ar for sp art c 問題 sendmail配置yum -y update sendmail sendmail-cfSendMail相關目錄1.
Time of Update: 2014-10-09
標籤:style http io os 使用 ar java 檔案 資料 一、 &nbs
Time of Update: 2014-10-09
標籤:android style blog http color io os 使用 ar 搜尋的時候無意中看見的這款基於ping的ICMP後門。於是到作者的github上看看,居然是陰文的,
Time of Update: 2014-10-08
標籤:blog http io os 使用 ar 檔案 sp art linux 下動態連結程式庫的製作與使用 linux
Time of Update: 2014-10-08
標籤:blog http io strong 檔案 2014 c on log 1.首先介紹一個與test一樣的測試方式[ expression ](千萬注意expression的前後都有空格,
Time of Update: 2014-10-08
標籤:memory linux 在free memory較低的情況下, 清空cached memory.執行sync同步髒資料,防止資料丟失>>sync執行清除命令>>sudo sh -c ‘echo 1>/proc/sys/vm/drop_caches‘2. sysctl 控制系統參數 /proc/sys
Time of Update: 2014-10-08
標籤:blog http 使用 檔案 2014 c log r linux 1.判斷一個命令的結果使用test,其返回0,或一個整數。返回0表示true,返回整數表示錯誤碼2.擷取上一個命令的返
Time of Update: 2014-10-09
linux查看系統版本資訊1,系統版本cat /proc/versionLinux version 2.6.32-131.0.15.el6.x86_64 (mockbuild@x86-007.build.bos.redhat.com) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Tue May 10 15:42:40 EDT 2011 2,核心版本 uname -aLinux bjbj-bgp-jxq-m0
Time of Update: 2014-10-09
ubuntu下安裝xlrd模組,Mysqldb模組Python中安裝xlrd模組1、從 https://pypi.python.org/pypi/xlrd 下載壓縮包2、解壓所下載的壓縮包3、CD到解壓目錄,執行 sudo python setup.py installubuntu伺服器上安裝Mysqldb:sudo apt-get install python-mysqldb安裝成功,可是import MySQLdb 提示找不到此模組sudo apt-get source
Time of Update: 2014-10-09
Linux禁止非WHEEL使用者使用SU命令通常情況下,一般使用者通過執行“su -”命令、輸入正確的root密碼,可以登入狀態root使用者來對系統進行管理員層級的配置。但是,為了更進一步加強系統的安全性,有必要建立一個管理員的 組,只允許這個組的使用者來執行“su -”命令登入狀態root使用者,而讓其他組的使用者即使執行“su
Time of Update: 2014-10-09
使用xftp串連VirtualBox中的centos6.5首先要在windows上安裝xftp軟體,這個是傻瓜式操作就不說了安裝完成之後,在centos上查看是否裝了xftpd服務,[root@centos Desktop]# rpm -qa | grep vsftpdvsftpd-2.2.2-12.el6_5.1.x86_64[root@centos Desktop]# chkconfig vsftpd on[root@centos
Time of Update: 2014-10-09
centos6.5修改普通使用者的語言在安裝centos的時候,選擇的是中文環境,並且建立了兩個使用者,一個是root使用者,一個是test使用者。但是安裝完成之後,我想要修改成英文的環境,經過搜尋發現可以修改vim /etc/sysconfig/i18n,把LANG=”zh_CN.UTF-8″修改為LANG=”en_US.UTF-8″,儲存,完成修改,重啟之後發現root使用者介面成功便成英文,但是普通使用者test的介面還是中文,之後我把test使用者刪除,又重建立了個使用者,還叫test,
Time of Update: 2014-10-09
Linux管道編程執行個體#include <unistd.h>#include <signal.h>#include <stdio.h>char parent[] = "a message from parrent";char child[] = "a message from child";main (){ int chan1[2], chan2[2]; int pid; char buf[100]
Time of Update: 2014-10-09
Linux-Ubuntu中文IME安裝(Ubuntu12.04)Ubuntu中文IME安裝(Ubuntu 12.04)本文地址:http://blog.csdn.net/caroline_wendyUbuntu作為Linux常見的作業系統,是需要熟練使用的。在安裝過程中,IME有時會出現問題,需要手動安裝。點擊System Settings:找到Language Support。Install/Remove Language,找到Chinese(simplified),並點擊Apply