ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 207 - PT0-002 discussion

Report
Export

A penetration tester is testing a new API for the company's existing services and is preparing the following script:

Which of the following would the test discover?

A.
Default web configurations
Answers
A.
Default web configurations
B.
Open web ports on a host
Answers
B.
Open web ports on a host
C.
Supported HTTP methods
Answers
C.
Supported HTTP methods
D.
Listening web servers in a domain
Answers
D.
Listening web servers in a domain
Suggested answer: C

Explanation:

The script is using the requests library to send an OPTIONS request to the API endpoint, which returns a list of supported HTTP methods for that resource. This can help the penetration tester to identify potential attack vectors or vulnerabilities based on the methods allowed.

asked 02/10/2024
Omer Awad
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first