nerdexam
CompTIA

PT0-002 · Question #178

A penetration tester writes the following script: Which of the following is the tester performing?

The correct answer is D. Scanning a network for specific open ports. -z zero-I/O mode [used for scanning] example output of script: 10.0.0.1: inverse host lookup failed: Unknown host (UNKNOWN) [10.0.0.1] 22 (ssh) open (UNKNOWN) [10.0.0.1] 23 (telnet) : Connection timed out https://unix.stackexchange.com/questions/589561/what-is-nc-z-used-for

Information Gathering and Vulnerability Scanning

Question

A penetration tester writes the following script:

Which of the following is the tester performing?

Exhibit

PT0-002 question #178 exhibit

Options

  • ASearching for service vulnerabilities
  • BTrying to recover a lost bind shell
  • CBuilding a reverse shell listening on specified ports
  • DScanning a network for specific open ports

How the community answered

(55 responses)
  • A
    4% (2)
  • B
    2% (1)
  • D
    95% (52)

Explanation

-z zero-I/O mode [used for scanning] example output of script: 10.0.0.1: inverse host lookup failed: Unknown host (UNKNOWN) [10.0.0.1] 22 (ssh) open (UNKNOWN) [10.0.0.1] 23 (telnet) : Connection timed out https://unix.stackexchange.com/questions/589561/what-is-nc-z-used-for

Topics

#Port scanning#Network reconnaissance#Information gathering

Community Discussion

No community discussion yet for this question.

Full PT0-002 Practice