exam questions

Exam PT0-002 All Questions

View all questions & answers for the PT0-002 exam

Exam PT0-002 topic 1 question 112 discussion

Actual exam question from CompTIA's PT0-002
Question #: 112
Topic #: 1
[All PT0-002 Questions]

A penetration tester is conducting a penetration test. The tester obtains a root-level shell on a Linux server and discovers the following data in a file named password.txt in the /home/svsacct directory:
U3VQZXIkM2NyZXQhCg==
Which of the following commands should the tester use NEXT to decode the contents of the file?

  • A. echo U3VQZXIkM2NyZXQhCg== | base64 ג€"d
  • B. tar zxvf password.txt
  • C. hydra ג€"l svsacct ג€"p U3VQZXIkM2NyZXQhCg== ssh://192.168.1.0/24
  • D. john --wordlist /usr/share/seclists/rockyou.txt password.txt
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
bieecop
8 months, 3 weeks ago
Selected Answer: A
echo U3VQZXIkM2NyZXQhCg== | base64 -d >> Sup3rM3cret!
upvoted 1 times
...
cy_analyst
1 year, 1 month ago
Selected Answer: A
"Super!3cret!"
upvoted 2 times
...
kloug
1 year, 2 months ago
aaaaaaaaaa
upvoted 2 times
...
[Removed]
1 year, 2 months ago
A is corrrrrrrect
upvoted 1 times
...
NotAHackerJustYet
1 year, 3 months ago
Selected Answer: A
Answer: A. echo U3VQZXIkM2NyZXQhCg== | base64 ג€"d Option A is the correct answer. This command will decode the contents of the file using the base64 encoding format, which is commonly used to encode binary data into ASCII characters. The command will take the encoded data in the file, and return the decoded data. Option B is incorrect because the tar command is used to create and extract archives, not decode data. Option C is incorrect because the hydra command is used to conduct brute-force attacks against remote services, not decode data. Option D is incorrect because the john command is used to crack passwords, not decode data.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago