[Sniffer] To sniffer wireless packets on Mac 由於對 Mac 不熟,但是想抓一些無線的封包,所以 google 一下,順便筆記。 新增 airport 連結 $ sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport airport $ airport Usage: airport <interface> <verb> <options> <interface> If an interface is not specified, airport will use the first AirPort int erface on the system. <verb is one of the following: prefs If specified with no key value pairs, displays a subset of AirPo rt preferences for the specified interface. Preferences may be configured using key=...
[Tools] gcov & lcov gcov 是一套代碼覆蓋率的工具,可以有效地查閱分析程式,找出程式中重載的部分,它也是 gcc 中的內建工具。 lcov 則是可以將 gcov 所分析完的結果,轉譯成 html 。 Required Packages $ apt update $ apt upgrade -y $ apt install gcov lcov gcov $ gcov -h Usage: gcov [OPTION]... SOURCE|OBJ... Print code coverage information. -h, --help Print this help, then exit -v, --version Print version number, then exit -a, --all-blocks Show information for every basic block -b, --branch-probabilities Include branch probabilities in output -c, --branch-counts Given counts of branches taken rather than percentages -n, --no-output Do not create an output file -l, --long-file-names Use long output file names for included source files -f, --function-summaries Output summaries for each function -o, --object-directory DIR|FILE Search for object files in...
留言
張貼留言