nerdexam
GAQM

CPEH-001 · Question #301

An engineer is learning to write exploits in C++ and is using the exploit tool Backtrack. The engineer wants to compile the newest C++ exploit and name it calc.exe. Which command would the engineer…

The correct answer is A. g++ hackersExploit.cpp -o calc.exe. See the full explanation below for the reasoning.

Question

An engineer is learning to write exploits in C++ and is using the exploit tool Backtrack. The engineer wants to compile the newest C++ exploit and name it calc.exe. Which command would the engineer use to accomplish this?

Options

  • Ag++ hackersExploit.cpp -o calc.exe
  • Bg++ hackersExploit.py -o calc.exe
  • Cg++ -i hackersExploit.pl -o calc.exe
  • Dg++ --compile hackersExploit.cpp -o calc.exe

How the community answered

(22 responses)
  • A
    86% (19)
  • C
    5% (1)
  • D
    9% (2)

Community Discussion

No community discussion yet for this question.

Full CPEH-001 Practice