CompTIA
PT0-002 · Question #438
During a security assessment, a penetration tester decides to write the following Python script: import requests x= ['OPTIONS', 'TRACE', 'TEST'l for y in x; print(y, z.status_code, z.reason) Which of
Sign in or unlock PT0-002 to reveal the answer and full explanation for question #438. The question stem and answer options stay visible for context.
Reconnaissance and enumeration
Question
During a security assessment, a penetration tester decides to write the following Python script:
import requests x= ['OPTIONS', 'TRACE', 'TEST'l for y in x; print(y, z.status_code, z.reason) Which of the following is the penetration tester trying to accomplish? (Select two).
Options
- AWeb server denial of service
- BHTTP methods availability
- C'Web application firewall detection
- D'Web server fingerprinting
- EWeb server error handling
- FWeb server banner grabbing
Unlock PT0-002 to see the answer
You've previewed enough free PT0-002 questions. Unlock PT0-002 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#HTTP Methods#Web Server Fingerprinting#Reconnaissance#Enumeration