QuestionQ61

VerifiedReconnaissance and Enumeration

During an engagement, a penetration tester receives a list of target systems and wants to enumerate them for potential vulnerabilities. The tester finds the following script online:

Question Image

After executing the script, the tester runs this command:

Question Image

Which of the following should the tester do next?

Explanation

Each target entry contains a base URL followed by a space-separated host label. target.split(" ")[0] retains only the base URL, allowing the API endpoint to be appended to a valid request URL.

Community Discussion

No comments yet. Be the first to start the discussion!