exam questions

Exam PT0-001 All Questions

View all questions & answers for the PT0-001 exam

Exam PT0-001 topic 1 question 134 discussion

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

A penetration tester wants to check manually if a `ghost` vulnerability exists in a system. Which of the following methods is the correct way to validate the vulnerability?

  • A. Download the GHOST file to a Linux system and compile gcc -o GHOST test i: ./GHOST
  • B. Download the GHOST file to a Windows system and compile gcc -o GHOST GHOST.c test i: ./GHOST
  • C. Download the GHOST file to a Linux system and compile gcc -o GHOST GHOST.c test i: ./GHOST
  • D. Download the GHOST file to a Windows system and compile gcc -o GHOST test i: ./GHOST
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
miabe
2 years, 9 months ago
Selected Answer: C
looks good to me
upvoted 1 times
...
Cock
3 years, 2 months ago
It was on the exam
upvoted 2 times
...
staccata
3 years, 7 months ago
C is correct. Ghost is relevant to Linux. i: perhaps a typo and is -l
upvoted 1 times
...
CybeSecN
3 years, 8 months ago
Correct answer is C
upvoted 1 times
...
khuno
4 years, 9 months ago
It should be B; HOWEVER, the system has to be linux. the answers are not written well. https://www.cyberciti.biz/faq/cve-2015-0235-ghost-glibc-buffer-overflow-linux-test-program/
upvoted 2 times
...
D1960
5 years ago
How would you answer this question? B or C?
upvoted 1 times
mr_robot
5 years ago
I guess it's more like B as the command seems to be correct. Couldn't find GCC for Windows but I came across these sites and they might also work so I would pick B for this one: https://www.guru99.com/c-gcc-install.html http://glx.sourceforge.net/tut/gcc.html
upvoted 1 times
sn0wman321
5 years ago
I would go for C as the vulnerability seems to only affect Linux servers. GCC is available for Windows but not the vulnerability
upvoted 7 times
deathfrom
5 years ago
I would go for C.
upvoted 3 times
...
mr_robot
4 years, 11 months ago
You are right. C seems to be the best.
upvoted 3 times
...
...
...
...
mr_robot
5 years, 1 month ago
Tricky one! For me it's a combination of B and C. - Download the GHOST file to a Linux system and compile: gcc -o GHOST GHOST.c test i: ./GHOST https://www.cyberciti.biz/faq/cve-2015-0235-ghost-glibc-buffer-overflow-linux-test-program/ https://www.ciscozine.com/ghost-cve-2015-0235/
upvoted 1 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