Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam SEC504 topic 1 question 31 discussion

Actual exam question from SANS's SEC504
Question #: 31
Topic #: 1
[All SEC504 Questions]

Which of the following commands can be used for port scanning?

  • A. nc -t
  • B. nc -z
  • C. nc -w
  • D. nc -g
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
anonyuser
3 months, 2 weeks ago
The -z flag is commonly used with the nc (netcat) command for port scanning. When used in combination with the -v (verbose) option, it can be used to check the status of a port on a remote host without actually sending any data.
upvoted 1 times
...
ExamCheat
11 months, 3 weeks ago
The command that can be used for port scanning is: B. nc -z Explanation: The -z option in the nc (netcat) command is used for port scanning. When used with the nc command, the -z flag instructs nc to scan for open ports without initiating a connection. It sends a TCP or UDP probe to the specified target host and port to check if the port is open or closed. The response received from the target helps determine the state of the port. For example, to scan for open ports on a target host using nc -z, the command syntax would be: nc -z <target_host> <start_port>-<end_port> ChatGPT
upvoted 1 times
...
ExamCheat
11 months, 3 weeks ago
nc -v -w3 -z targetIP startport-endport TCP and UDP port scanning ⦁ Linear scans (default) or random scans (with the -r option) ⦁ -z option for minimal data to be sent ⦁ -v tells us when a connection is made (crucial info for a port scanner) ⦁ -w3 means wait no more than 3 seconds on each port ⦁ Can scan from any source port and source routing supported ⦁ We can go further, connecting to various ports, entering data, and recording the response
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...