原创 /proc/net/tcp

~$ cat /proc/net/tcp sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout ino

原创 【原創】OllyDBG 入門系列(四)-內存斷點

http://bbs.pediy.com/showthread.php?t=21378 還是上次那個cm,不過這次的要求是寫出註冊機 那麼就要先研究註冊碼是怎麼來的,上次我們最開始找到的關鍵位置 00401306 |. /75

原创 NERDTree Usage

files,directories,sym-links,Windows .lnk files,read-only files,executable file o…….Open files, directories and book

原创 c語言中關於可變參數的研究

#include <stdio.h> #include <stdarg.h> void PrintLines(char *first,...) { char *str; va_list v1; str

原创 go 函數

函數 函數原型 func (p mytype) funcname(q int)(r,s int){ return 0,0 } func 關鍵字 用於定義一個函數 (p mytype) 函數可以綁定到特定的類型上

原创 開啓NERDTree後進入vim光標停留在NERDTree怎麼辦

autocmd VimEnter * NERDTree wincmd w autocmd VimEnter * wincmd w 點贊 1 收藏 分享 文章舉報 nobod

原创 vim中的光標移動

vim中的光標移動 hjkl 左下上右 在屏幕中移動光標 n + G 光標移動到第n行 ^H 光標移動至當前屏幕的首行的行首 ^M ………………..中間行的行首 ^L ………………..最後一行的行首 在文件內移動光標

原创 Linux 服務器安全運維

Linux 服務器安全運維 1.1 刪除多餘的用戶和組 可刪除的用戶:adm,lp,sync,shutdown,halt,news,uucp,operator,games,gopher 可刪除的組:adm,lp,news,uuc

原创 vim 退格鍵(backspace)不能用

兩個步驟: 1.去掉討厭的有關vi一致性模式,避免以前版本的一些bug和侷限 set nocompatible 2.backspace有幾種工作方式,默認是vi兼容的。對新手來說很不習慣。對老vi 不那麼熟悉的人也都挺困擾的。

原创 vim,shiftwidth,tabstop,softtapstop

shiftwidth 程序中自動縮進所使用的空白長度。 tabstop 定義tab所等同的空格長度 softtabstop 當啓用自動縮進的時候,每逢tapstop就把 tabstop個空格轉換爲一個tab符號 所以我們

原创 test inet_addr

#include <unistd.h> #include <stdio.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #d

原创 更改vs2010的語言編寫開發環境

工具–>導入導出設置 點贊 收藏 分享 文章舉報 nobody001z 發佈了29 篇原創文章 · 獲贊 0 · 訪問量 1萬+ 私信

原创 OllyDBG 入門系列(三)-函數參考

http://bbs.pediy.com/showthread.php?t=21330 運行程序 點擊check沒反應,發現驗證碼錯誤沒反應 在API上下斷點,考慮GetWindowText和GetDlgItemText。 查

原创 一個pcap抓包分析code

#include <stdio.h> #include <pcap.h> #include <stdlib.h> #include <errno.h> #include <sys/socket.h> #include <netinet/

原创 makefile

makefile 隱含規則 Compiling C programs n.o:n.c $(CC) -c $(CPPFLAGS) $(CFLAGS) Compiling C++ programs n.cc: n.C: $(