Command Line Tools Flashcards
A command-line tool that can be used for banner grabbing is called:
- tcpdump
- netcat
- Nmap
- Wireshark
netcat, because it can allow you to read and write to ports
Which of the command-line utilities listed below can be used to perform a port scan? (Select 2 answers)
- Zenmap
- Nmap
- tcpdump
- netcat
- nslookup
Nmap, netcat
Which of the following command-line tools is used for discovering hosts and services on a network?
- Nmap
- netcat
- Zenmap
- tcpdump
Nmap
Which of the answers listed below refers to a command-line packet capturing utility?
- Nmap
- netcat
- Zenmap
- tcpdump
tcpdump
The ip command in Linux is the preferred replacement for:
- netstat
- ifconfig
- nslookup
- ipconfig
ifconfig
What is the name of a Linux command-line utility that can be used to display TCP/IP configuration settings?
- ifconfig
- netstat
- nslookup
- ipconfig
ifconfig
Which of the following command-line commands in MS Windows are used for resetting the DHCP configuration settings for all adapters? (Select 2 answers)
- ifconfig eth0 down
- pconfig /release
- ifconfig eth0 up
- ipconfig /renew
ipconfig /release, ipconfig /renew
Which ipconfig parameter allows to view the physical address of a Network Interface Card (NIC)?
- S srcaddr
- /all
- -i address
- eth_addr
/all
Which of the following answers lists an ipconfig command parameter used for displaying the full TCP/IP configuration information for all adapters?
- -a
- /?
- /all
- /-a
/all
Used without any parameters, ipconfig displays the IP address, subnet mask, and default gateway for all adapters. (T/F)
True
What is the name of a Windows command-line utility that can be used to display TCP/IP configuration settings?
- ifconfig
- nslookup
- ipconfig
- netstat
ipconfig
The arp command can be used to perform what kind of resolution?
- IP to FQDN
- MAC to IP
- IP to MAC
- FQDN to IP
IP to MAC
Which command in MS Windows displays a table consisting of IP addresses and their resolved physical addresses?
- arp -e
- netstat -n
- nslookup
- arp -a
arp -a
Domain information groper (dig) and nslookup are command-line tools used for DNS queries. Both utilities are available on Windows and Linux. Of the two, nslookup is the preferred tool on UNIX-like systems; dig is the default DNS query tool for MS Windows. (T/F)
False
Which of the following CLI tools is used to troubleshoot DNS-related problems?
- arp
- nslookup
- tracert
- pathping
nslookup
A Linux command-line utility for displaying intermediary points (routers) an IP packet is passed through on its way to another network node is known as:
- nbtstat
- traceroute
- netstat
- tracert
traceroute
A network command-line utility in MS Windows that tracks and displays the route taken by an IP packet on its way to another host is called:
- ping
- traceroute
- dig
- tracert
tracert
Netstat is a command-line utility which can be used for:
- Displaying active TCP/IP connections
- Testing the reachability of a remote host
- Displaying intermediary points on the packet route
- Viewing the TCP/IP configuration details
Displaying active TCP/IP connections
A security technician was asked to configure a firewall so that the protected system would not send echo reply packets. What type of traffic should be blocked on the firewall to accomplish this task?
- SRTP
- ICMP
- CCMP
- SNMP
ICMP
A command-line utility used for checking the reachability of a remote network host is called:
- ping
- tracert
- dig
- netstat
ping
DOS command that sends an ICMP echo request message to a host. It’s used to check connectivity between 2 systems.
ping
A Windows command-line utility used to list the routers (or hops) a packet between two hosts. Can be used to determine the packet’s speed as well as verify that a path has not changed.
tracert
A troubleshooting command-line utility that displays statistics for active TCP/IP connections. Useful if you suspect a rogue computer connection.
netstat
A command-line protocol/packet analyzer. Administrators use it to capture packets; functions like a command-line version of Wireshark.
tcpdump
Utility that performs IP to MAC address resolution; used to determine what a given Layer 3 IP address correspond to (its Layer 2 MAC address). Can also be used to view and manipulate the ARP cache. It helps troubleshoot address resolution problems.
arp
A Windows tool used to query the DNS system to find the IP addresses for domain names, and vice versa
nslookup
Windows command used to view NIC network interfaces. It also displays the local IP address, subnet mask, the gateway address, and other network configuration of a computer. Additionally, it is used to refresh DHCP (Dynamic Host Configuration Protocol) and DNS (Domain Name System) settings.
ipconfig
A network-vulnerability scanner. scans ports, fingerprint systems, creates maps. Frequently used as a vulnerability scanner.
netcat
A Linux command-line utility used to follow the path a packet takes between two hosts and determine the packet’s speed
traceroute
A Linux tool used to query the DNS system to find the IP addresses for domain names, and vice versa.
dig
Linux command that shows the TCP/IP configuration and network interface settings. You can enable promiscuous mode on a NIC. Deprecated.
ifconfig
Linux command that is a preferred replacement for ifconfig command. Shows the TCP/IP configuration and network interface settings. You can enable promiscuous mode on a NIC.
ip
A network scanner that includes many capabilities, including identifying all the active hosts and their IP addresses in a network, the protocols and services running on each of these hosts, and the operating system of the host.
nmap
Graphical version of nmap.
Zenmap