{"id":47,"date":"2022-11-26T07:49:48","date_gmt":"2022-11-26T07:49:48","guid":{"rendered":"https:\/\/exampracticetests.com\/c\/PT0-002\/comptia-pentest-pt0-002-question039\/"},"modified":"2022-11-26T07:49:48","modified_gmt":"2022-11-26T07:49:48","slug":"comptia-pentest-pt0-002-question039","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/c\/PT0-002\/comptia-pentest-pt0-002-question039\/","title":{"rendered":"CompTIA PenTest+ PT0-002 &#8211; Question039"},"content":{"rendered":"<div class=\"question\">A penetration tester is looking for a vulnerability that enables attackers to open doors via a specialized TCP service that is used for a physical access control system. The service exists on more than 100 different hosts, so the tester would like to automate the assessment. Identification requires the penetration tester to:<br \/>\n&#8211; Have a full TCP connection<br \/>\n&#8211; Send a &quot;hello&quot; payload<br \/>\n&#8211; Wait for a response<br \/>\n&#8211; Send a string of characters longer than 16 bytes<br \/>\nWhich of the following approaches would BEST support the objective?<br \/><strong><br \/>A.<\/strong> Run nmap -Pn -sV &#8211;script vuln &lt;IP address&gt;.<br \/><strong>B.<\/strong> Employ an OpenVAS simple scan against the TCP port of the host.<br \/><strong>C.<\/strong> Create a script in the Lua language and use it with NSE.<br \/><strong>D.<\/strong> Perform a credentialed scan with Nessus.<\/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 is looking for a vulnerability that enables attackers to open doors via a specialized TCP service that is used for a physical access control system. The service exists on more than 100 different hosts, so the tester would like to automate the assessment. Identification requires the penetration tester to: &#8211; Have a [&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,42],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-comptia-pentest-pt0-002","tag-comptia-pentest-pt0-002","tag-question-039"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/posts\/47","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=47"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/c\/PT0-002\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}