内部侵入テスト中、攻撃マシンはターゲット ホストと同じ LAN セグメント上にあります。 次のコマンドのうち、攻撃者がホスト配信を実行し、攻撃マシンの結果を返さずに発見をファイルに書き込むのに最も適しているのはどれですか?
正解:A
Explanation According to the Official CompTIA PenTest+ Self-Paced Study Guide1, the correct answer is A. nmap -sn -n -exclude 10.1.1.15 10.1.1.0/24 -oA target_txt. This command will perform a ping scan (-sn) without reverse DNS resolution (-n) on the IP range 10.1.1.0/24, excluding the attack machine's IP address (10.1.1.15) from the scan (-exclude). It will also output the results in three formats (normal, grepable and XML) with a base name of target_txt (-oA).