PT0-003 Exam Question 16

A penetration tester writes the following script to enumerate a 1724 network:
1 #!/bin/bash
2 for i in {1..254}; do
3 ping -c1 192.168.1.$i
4 done
The tester executes the script, but it fails with the following error:
-bash: syntax error near unexpected token `ping'
Which of the following should the tester do to fix the error?
  • PT0-003 Exam Question 17

    While performing a penetration testing exercise, a tester executes the following command:
    bash
    Copy code
    PS c:\tools> c:\hacks\PsExec.exe \\server01.comptia.org -accepteula cmd.exe Which of the following best explains what the tester is trying to do?
  • PT0-003 Exam Question 18

    A penetration tester wants to check the security awareness of specific workers in the company with targeted attacks. Which of the following attacks should the penetration tester perform?
  • PT0-003 Exam Question 19

    While performing an internal assessment, a tester uses the following command:
    crackmapexec smb 192.168.1.0/24 -u user.txt -p Summer123@
    Which of the following is the main purpose of the command?
  • PT0-003 Exam Question 20

    Which of the following is a term used to describe a situation in which a penetration tester bypasses physical access controls and gains access to a facility by entering at the same time as an employee?