These two will search for prog on current PATH
execlp(prog, arg0, arg1, arg2, ...)
execvp(prog, argList)
簡單說
execvp可以傳argument list,而exclp卻需要把參數一個一個傳進去。
星期四, 9月 16, 2010
Mac terminal cursor hot key
Below test in the bash shell.
back to the begin of current command: ctrl + a
go to the end of current command: ctrl + e
back one word : esc + b
forward one word : esc + f
back to the begin of current command: ctrl + a
go to the end of current command: ctrl + e
back one word : esc + b
forward one word : esc + f
Format usb under mac os x in command line
This is the command:
$ diskutil eraseVolume MS-DOS COOKIES /Volumes/COOKIES
eraseVolume filesystem name device
會讓usb變成fat32的fs
$ diskutil eraseVolume MS-DOS COOKIES /Volumes/COOKIES
eraseVolume filesystem name device
會讓usb變成fat32的fs
星期五, 9月 10, 2010
Kismac -- Mac OS X 上的無線探測工具
除了Wireshark以外,MAC上還有這套頗好用的工具。
雖然此工具和Kismet沒有關係,但此工具提供不少不錯的功能:
1. 簡單明瞭的GUI
2. 支援GPS
3. Crack of some protocol
在選單下,收集足夠的packet以後就可以進行crack WEP, LEAP。
4. de-authentication attack
5. 可以在MAC下進行rfmon mode (不用和任何AP associate即可sniffing traffic)
雖然此工具和Kismet沒有關係,但此工具提供不少不錯的功能:
1. 簡單明瞭的GUI
2. 支援GPS
3. Crack of some protocol
在選單下,收集足夠的packet以後就可以進行crack WEP, LEAP。
4. de-authentication attack
5. 可以在MAC下進行rfmon mode (不用和任何AP associate即可sniffing traffic)
訂閱:
文章 (Atom)