nerdexam
CompTIA

PT0-002 · Question #245

Which of the following can be used to store alphanumeric data that can be fed into scripts or programs as input to penetration-testing tools?

The correct answer is A. Dictionary. A dictionary (in the context of penetration testing and scripting) is a data structure that stores alphanumeric key-value pairs and can be used as input to scripts or tools - for example, wordlists or credential dictionaries fed into brute-force tools. In Python, a dict is a…

Attacks and Exploits

Question

Which of the following can be used to store alphanumeric data that can be fed into scripts or programs as input to penetration-testing tools?

Options

  • ADictionary
  • BDirectory
  • CSymlink
  • DCatalog
  • EFor-loop

How the community answered

(18 responses)
  • A
    89% (16)
  • B
    6% (1)
  • D
    6% (1)

Explanation

A dictionary (in the context of penetration testing and scripting) is a data structure that stores alphanumeric key-value pairs and can be used as input to scripts or tools - for example, wordlists or credential dictionaries fed into brute-force tools. In Python, a dict is a fundamental collection type used widely in security tooling. A directory (B) is a file system folder. A symlink (C) is a file system pointer. A catalog (D) is not a recognized programming construct. A for-loop (E) is a control flow structure, not a data store. The dictionary is the correct answer as both a programming data structure and a security term for wordlists.

Topics

#Dictionary attacks#Wordlists#Penetration testing tools#Brute-forcing

Community Discussion

No community discussion yet for this question.

Full PT0-002 Practice