A penetration tester is attempting to open a socket in a bash script but receives errors when running it. The current state of the relevant line in the script is as follows: Which of the following lines of code would correct the issue upon substitution?
A) open 0<>/dev/tcp/${HOST}:${PORT}
B) exec 0C) exec 0D) exec 3<>/dev/tcp/${HOST}/${PORT}
E) open 3F) open 3
Correct Answer:
Verified
Q90: A senior employee received a suspicious email
Q91: When negotiating a penetration testing contract with
Q92: An organization has requested that a penetration
Q93: Which of the following actions BEST matches
Q94: An attacker performed a MITM attack against
Q96: A penetration tester has compromised a host.
Q97: A penetration tester successfully exploits a system,
Q98: A penetration tester has been hired to
Q99: A company has engaged a penetration tester
Q100: A penetration tester wants to check manually
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents