ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 78 - PT0-002 discussion

Report
Export

A penetration tester writes the following script:

Which of the following objectives is the tester attempting to achieve?

A.
Determine active hosts on the network.
Answers
A.
Determine active hosts on the network.
B.
Set the TTL of ping packets for stealth.
Answers
B.
Set the TTL of ping packets for stealth.
C.
Fill the ARP table of the networked devices.
Answers
C.
Fill the ARP table of the networked devices.
D.
Scan the system on the most used ports.
Answers
D.
Scan the system on the most used ports.
Suggested answer: A

Explanation:

The tester is attempting to determine active hosts on the network by writing a script that pings a range of IP addresses. Ping is a network utility that sends ICMP echo request packets to a host and waits for ICMP echo reply packets. Ping can be used to test whether a host is reachable or not by measuring its response time. The script uses a for loop to iterate over a range of IP addresses from 192.168.1.1 to 192.168.1.254 and pings each one using the ping command with -c 1 option, which specifies one packet per address.

asked 02/10/2024
Nabil BENIKHLEF
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first