nerdexam
CompTIA

PT0-002 · Question #331

A penetration tester is conducting an unknown environment test and gathering additional information that can be used for later stages of an assessment. Which of the following would most likely…

The correct answer is B. Public code repositories associated with the target company's organization. Code repositories are online platforms that store and manage source code and other files related to software development projects. Code repositories can contain useful information for additional testing, such as application names, versions, features, functions, vulnerabilities…

Reconnaissance and enumeration

Question

A penetration tester is conducting an unknown environment test and gathering additional information that can be used for later stages of an assessment. Which of the following would most likely produce useful information for additional testing?

Options

  • APublic code repositories associated with a developer who previously worked for the target
  • BPublic code repositories associated with the target company's organization
  • CPrivate code repositories associated with the target company's organization
  • DPrivate code repositories associated with a developer who previously worked for the target

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    74% (17)
  • C
    4% (1)
  • D
    17% (4)

Explanation

Code repositories are online platforms that store and manage source code and other files related to software development projects. Code repositories can contain useful information for additional testing, such as application names, versions, features, functions, vulnerabilities, dependencies, credentials, comments, or documentation. Searching for code repositories associated with the target company's organization would most likely produce useful information for additional testing, as it would reveal the software projects that the target company is working on or using, and potentially expose some weaknesses or flaws that can be exploited. Code repositories can be searched by using tools such as GitHub, GitLab, Bitbucket, or SourceForge. The other options are not as likely to produce useful information for additional testing, as they are not directly related to the target company's software development activities. Searching for code repositories associated with a developer who previously worked for the target company may not yield any relevant or current information, as the developer may have deleted, moved, or updated their code repositories after leaving the company. Searching for code repositories associated with the target company's competitors or customers may not yield any useful or accessible information, as they may have different or unrelated software projects, or they may have restricted or protected their code repositories from public view.

Topics

#Reconnaissance#OSINT#Code repositories#Information gathering

Community Discussion

No community discussion yet for this question.

Full PT0-002 Practice