Câu 26: CS0-002: CompTIA CySA+ Certification Exam (CS0-002)
An organization recently discovered that spreadsheet files containing sensitive financial data were improperly stored on a web server. The management team wants to find out if any of these files were downloaded by public users accessing the server. The results should be written to a text file and should include the da…
Nội dung câu hỏi
An organization recently discovered that spreadsheet files containing sensitive financial data were improperly stored on a web server. The management team wants to find out if any of these files were downloaded by public users accessing the server. The results should be written to a text file and should include the date, time, and IP address associated with any spreadsheet downloads. The web server's log file is named webserver.log, and the report file name should be accessreport.txt. Following is a sample of the web server's log file: Which of the following commands should be run if an analyst only wants to include entries in which a spreadsheet was successfully downloaded?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. more webserver.log | grep *.xls > accessreport.txt
- B. more webserver.log > grep ג€*xlsג€ | egrep ג€"E 'success' > accessreport.txt
- C. more webserver.log | grep ג€"E ג€return=200 | xlsג€ > accessreport.txt — đáp án hiện tại
- D. more webserver.log | grep ג€"A *.xls < accessreport.txt
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.