{"id":10,"date":"2022-11-26T07:49:09","date_gmt":"2022-11-26T07:49:09","guid":{"rendered":"https:\/\/exampracticetests.com\/c\/PT0-002\/comptia-pentest-pt0-002-question002\/"},"modified":"2022-11-26T07:49:09","modified_gmt":"2022-11-26T07:49:09","slug":"comptia-pentest-pt0-002-question002","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/c\/PT0-002\/comptia-pentest-pt0-002-question002\/","title":{"rendered":"CompTIA PenTest+ PT0-002 &#8211; Question002"},"content":{"rendered":"<div class=\"question\">A penetration tester gains access to a system and establishes persistence, and then run the following commands:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full\" src=\"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-content\/uploads\/exam\/0002-0000.jpg\" \/><br \/>\nWhich of the following actions is the tester MOST likely performing?<br \/><strong><br \/>A.<\/strong> Redirecting Bash history to \/dev\/null<br \/><strong>B.<\/strong> Making a copy of the user&#039;s Bash history to further enumeration<br \/><strong>C.<\/strong> Covering tracks by clearing the Bash history<br \/><strong>D.<\/strong> Making decoy files on the system to confuse incident responders<\/div>\n<p><\/p>\n<style> .hidden-div{ display:none } <\/style>\n<p>\t\t\t\t\t\t\t<button onclick=\"getElementById('hidden-div').style.display = 'block'\"> Show Answer <\/button> <button onclick=\"getElementById('hidden-div').style.display = 'none'\">Hide Answer<\/button><\/p>\n<div class=\"hidden-div\" id=\"hidden-div\"><span style=\"\"><\/p>\n<div class=\"answer\">Correct Answer: <strong>C<\/strong><\/div>\n<p><strong>Explanation:<\/strong> <\/p>\n<div class=\"explanation\">\nReference: <a href=\"https:\/\/null-byte.wonderhowto.com\/how-to\/clear-logs-bash-history-hacked-linux-systems-cover-your-tracks-remain-undetected-0244768\/\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/null-byte.wonderhowto.com\/how-to\/clear-logs-bash-history-ha&#8230;<\/a><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A penetration tester gains access to a system and establishes persistence, and then run the following commands: Which of the following actions is the tester MOST likely performing?A. Redirecting Bash history to \/dev\/nullB. Making a copy of the user&#039;s Bash history to further enumerationC. Covering tracks by clearing the Bash historyD. Making decoy files on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[3,5],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-comptia-pentest-pt0-002","tag-comptia-pentest-pt0-002","tag-question-002"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/posts\/10\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/media?parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/categories?post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/tags?post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}