{"id":318,"date":"2022-02-25T19:43:31","date_gmt":"2022-02-25T19:37:05","guid":{"rendered":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/certified-ethical-hacker-v11-312-50v11-question177\/"},"modified":"2022-02-25T19:46:25","modified_gmt":"2022-02-25T19:46:25","slug":"certified-ethical-hacker-v11-312-50v11-question177","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/certified-ethical-hacker-v11-312-50v11-question177\/","title":{"rendered":"Certified Ethical Hacker v11 312-50v11 &#8211; Question177"},"content":{"rendered":"<div class=\"question\">You start performing a penetration test against a specific website and have decided to start from grabbing all the links from the main page.<br \/>\nWhat is the best Linux pipe to achieve your milestone?<br \/><strong><br \/>A.<\/strong> wget <a href=\"https:\/\/site.com\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/site.com<\/a> | grep &quot;&lt;a href=&quot;http&quot; | grep &quot;site.com&quot;<br \/><strong>B.<\/strong> curl -s <a href=\"https:\/\/site.com\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/site.com<\/a> | grep &quot;&lt;a href=&quot;http&quot; | grep &quot;site.com&quot; | cut -d &quot;&quot;&quot; -f 2<br \/><strong>C.<\/strong> dirb <a href=\"https:\/\/site.com\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/site.com<\/a> | grep &quot;site&quot;<br \/><strong>D.<\/strong> wget <a href=\"https:\/\/site.com\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/site.com<\/a> | cut -d &quot;http&quot;<\/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>A<\/strong><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>You start performing a penetration test against a specific website and have decided to start from grabbing all the links from the main page. What is the best Linux pipe to achieve your milestone?A. wget https:\/\/site.com | grep &quot;&lt;a href=&quot;http&quot; | grep &quot;site.com&quot;B. curl -s https:\/\/site.com | grep &quot;&lt;a href=&quot;http&quot; | grep &quot;site.com&quot; | cut [&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,180],"class_list":["post-318","post","type-post","status-publish","format-standard","hentry","category-certified-ethical-hacker-v11-312-50v11","tag-certified-ethical-hacker-v11-312-50v11","tag-question-177"],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":1,"href":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":545,"href":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/wp-json\/wp\/v2\/posts\/318\/revisions\/545"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/eccouncil\/ceh-v11\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}